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
Program to Find the second largest element in an array.
how its run?
What is the difference between compile-time polymorphism and runtime polymorphism?
What is finally and finalize in java?
how to write a server program and sending the mails to the server using smtp protocol please help me
Will the jvm load the package twice at runtime?
What is regex used for?
How can we access some class in another class in java?
What is the need of transient variables in Java ?
What are memory tables?
Explain the features of java?
Why do we need strings in java?
What does it mean to be immutable?
What are the supported platforms by java programming language?
What are different types of encoding?