How many objects are created when we create String class
object using new operator?
Answer Posted / shalini
using new operator, we can create same object 'n' no of
times of the same string class coz jvm would never verify
for the existing object wenever we create the object using
new operator
Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
What does the exclamation mark mean in java?
What is the difference between the font and fontmetrics classes in java programming?
What is data and its types?
What is increment in java?
What is equals method in java?
What is a boolean structure?
What is java used for?
How can constructor chaining be done using this keyword?
What does string [] args mean?
Can I override protected method in java?
What are anonymous inner classes?
What are the advantages of compiled language?
What is the effect of keeping a constructor private?
Can we inherit inner class?
How can we make a class singleton?