How many objects are created when we create String class
object using new operator?
Answer Posted / naveen
Yes,two Objects will be created, First in Constant Pool and
second Object in Heap area of the Memory
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is a parameter in simple terms?
Is it possible to override the main method?
Explain the meaning of java applet.
What is the purpose of javac exe?
Does java vector allow null?
Define canvas?
Describe 2 different ways to concatenate two strings.
How do you invoke a method?
What are the different types of data structures in java?
Can substring create new object?
What is number data type?
What are inbuilt functions in java?
What is parsing in grammar?
Explain about anonymous inner classes in java?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?