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 are data types in oop?
Explain about java sdk?
What is method in java ?
How do you remove duplicates from an array in java?
Why is string builder not thread safe?
What are register variables what are the advantages?
What's a method in programming?
What does provide mean construction?
Can we override constructor in java?
Do loops java?
How to overcome the exception object reference not set to an instance of object?
Can static methods be inherited?
Difference between association, composition and aggregation?
Difference between Preemptive scheduling vs. Time slicing?
What is command line argument in java?