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 is lazy programming?
What is ternary operator? Give an example.
does java support pointers?
Can size_t be negative?
Define how objects are stored in java?
How to perform binary search in java?
What is a nonetype?
What is difference between path and classpath?
What are data structures in java?
Is java based on c?
How we create object in copy constructor?
What is a Transient Object?
Explain java coding standards for variables ?
Why does java does not support multiple inheritance? Explain
Which of the classes will have more memory allocated?