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
What are green threads in java?
What sorting algorithm does javascript use?
What is the difference between the font and fontmetrics classes in java programming?
What is empty list in java?
What are the main concepts of oops in java?
What is variable and example?
What is regex used for?
What is the this keyword?
Is an object null?
What is internal variable?
What is backdrop?
What is not object oriented programming?
What is the difference between comparison done by equals method and == operator?
What is arraylist e in java?
What is sizeof in java?