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 / abhishek thakur

1. Four Ways of Object creation

i)Using "new" operator
ii)Using newInstance Method in Class.forName(class name)
iii)in case of deserialisation
iv)using clone

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is illegal identifier in java?

1018


Can list have duplicates in java?

855


define the terminology association.

1048


What does indexof mean?

943


What do you mean by constructor?

923


What about main thread in java?

1060


Is singleton class thread safe?

950


What does .equals do in java?

1006


What is default locale java?

1045


How to find the given number is a prime number or not by getting input from the user

1026


How do you clear an arraylist in java?

934


how to split string in java?

1138


What is the use of toarray () in java?

1000


Explain working of call by reference function invoking.

965


define polymorphism in java

1038