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 / xxxx

with out new operater we can create object. Because the
String varible is taken as an object in java, which is
created with out new operater.
ex.
String str="xxxx";

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the hashcode () and equals () used for?

1026


What is multi-catch block in java?

1071


What carriage return means?

958


what is synchronization and why is it important? : Java thread

1079


What are the three parts of a lambda expression? What is the type of lambda expression?

1027


In the below example, how many string objects are created?

1043


What are the different types of collections in java?

954


What is the length of a string?

1004


Does isempty check for null?

1011


Which are the two subclasses under exception class?

1081


What is an empty list in java?

960


Can we declare a class as static?

1089


What is function overriding and overloading in java?

1105


What is Mutex (Mutual Exclusion Object) ?

1140


How do you achieve singleton?

973