We can create object in different ways;
1.new operator
2.class.forName: Classname obj = Class.forName("Fully Qualified class Name").newInstance();
3.newInstance
4.object.clone
Click Here to See Answer .....
Did you like this article ?
Subscribe to my RSS feed and get more JAVA Question, and Guideline, Plus a lot more great advice to help your Software Career.
Subscribe to my RSS feed and get more JAVA Question, and Guideline, Plus a lot more great advice to help your Software Career.
0 comments:
Post a Comment