How many objects are created when we create String class
object using new operator?
Answer Posted / koneti
yes, two Objects are created one Object is string constent
pool and second one is in heap memory
Is This Answer Correct ? | 40 Yes | 6 No |
Post New Answer View All Answers
What is strings in java?
Tell me a few examples of final classes defined in Java API?
Do we need to manually write Copy Constructor?
How does list work in java?
What is a numeric digit?
How do you find the maximum number from an array without comparing and sorting?
Explain parallel processing in java8?
How do generics work in java?
What is javac used for?
What is a numeric format?
What are the various access specifiers in java?
What are autoboxing and unboxing? When does it occur?
How do generics work?
Explain about varargs in java?
What is balanced tree in java?