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 use of map in java?
What does ide stand for?
What are the fileinputstream and fileoutputstream?
What is the exact difference in between unicast and multicast object? Where we will use?
What is anagram in java?
Can we call virtual funciton in a constructor ?
What is byte data type?
Can private class be extended java?
What are the important features of Java 9 release?
How can you make a class serializable in java?
How do I compare two strings in word in java?
make a method which any number and any type of argument and print sum of that arguments.....
What is the main purpose of serialization in java?
How do I enable java in safari?
How do you take thread dump in java?