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 do you know about the garbage collector in java?
How do I print a “?
What is polymorphism and what are the types of it?
What is arraylist class in java?
What do you mean by platform independence of Java?
What are predicates in java 8?
What is an escape character in java?
What is method overriding in java ?
Difference between throw and throws?
What is pass by value?
How do you start a new line in java?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
Is java a super set of javascript?
What is meant by vector class, dictionary class, hash table class, and property class?
Why do we need autoboxing in java?