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 used of static keyword in java?
Can main() method in java can return any data?
How do you get length in java?
How big is a pointer?
Java is pass by value or pass by reference? Explain
Why does java does not support multiple inheritance? Explain
What is a nested class?
What is meant by interface?
What is collection sort in java?
How can you write a loop indefinitely in java programming?
What programs use java?
Explain what is encapsulation?
What does sizeof return?
Explain how to convert any java object into byte array.
What is an iterator java?