Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to create an instance of a class without using "new"
operator? Plz help me out properly.Thank u.

Answer Posted / saravanan p

By using Class d=Class.forName("className");
Object obj=c.newInstance();

Is This Answer Correct ?    77 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is encapsulation?

1078


Explain about object oriented programming and its features?

1003


Define how does a try statement determine which catch clause should be used to handle an exception?

1145


Is ruby built on java?

937


Which collections are thread safe in java?

918


Is java free for commercial?

918


Can list contain null in java?

1077


What is javac in java?

994


what is function overloading in java?

1284


What is difference between static class and normal class?

1103


Why char array is preferred over string for storing password?

1090


What is the platform?

992


Is there any sort function in java?

1034


What is the final keyword?

979


What is a string what operation can be performed out with the help of a string?

1037