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

How do you escape json?

1039


Can this keyword be used to refer static members?

1074


Is string a data type in java?

1055


What is the difference between JDK and JVM?

1337


Can a list be null in java?

1104


In which language java is written?

1030


What is a bufferedreader?

1161


What types of index data structures can you have in java?

1312


List primitive java types?

1092


Why is singleton instance static?

1042


How we can generate random numbers in java?

1171


What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?

1173


Why is stringbuffer called mutable?

1043


What is the use of protected in java?

1067


How to split a string in java?

1181