What is reflective instantiation?
If you don't want to instantiate your class object using new keyword than Java provide the other way of instantiation by the reflective instantiation. There are 2 reflective instantiation way
1. By using Class.forName(your class name with pckg).newinstance()
2. By using cloning
Visit my email id email@example.com i will tell u every thing related java
which IDE do u use Netbeans or eclipse?
Hi how are you
creating the object of the class by loading the class dynamically i.e at the run ....
class.forName () method is used to create the object dynamically
It is dynamic loading of the class using class c = class.forName("a");
Value store in other var than its increment first tym..other first tym increment give same value