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's a method in programming?
How do you add an element to a hashset in java?
Can we create object of inner class in java?
What is a byte string?
What is object-oriented programming?
Can you override static methods?
What is string syntax?
Can we overload the main() method?
How to implement a multithreaded applet?
What are the approaches that you will follow for making a program very efficient?
What is a default constraint?
What is array length in java?
Why do you canvas?
What is annotation in java?
What is pangram in java?