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
Can I override protected method in java?
Can you explain the final method modifier?
What are the advantages of java over C++?
What do you understand by the bean persistent property?
What is the covariant return type?
What is difference between wait and notify in java?
Can a vector contain heterogenous objects?
What are the default and parameterized constructors?
Define how objects are stored in java?
What happens when I use / and % with a negative numerator?
What is the purpose of using javap?
What is overriding in java?
how do I create a runnable with inheritance? : Java thread
What things should be kept in mind while creating your own exceptions in java?
What is java util concurrentmodificationexception?