Yes reflection can provide dynamic object creation(on fly )
Class anonymous = Class.forName("CLass name");
anonymous.getInstance();
All objects are created at Runtime in java.
10
solved Runtime object creation in java [closed]
Yes reflection can provide dynamic object creation(on fly )
Class anonymous = Class.forName("CLass name");
anonymous.getInstance();
All objects are created at Runtime in java.
10
solved Runtime object creation in java [closed]