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
Define interface in java?
What does java edition mean?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
what is collatration?
Can we clone singleton object?
Which one of the following suits the description of a string better: derived or primitive?
what is use of functional interface in java 8?
Is a string literal?
How to calculate the length of a singly linked list in java?
What is data object example?
What is integer size in java?
How do you do descending order in java?
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread
When would you use a static class?
Can we return null in java?