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
Which collections are thread safe in java?
Can we overload run() method in java?
How can we find the actual size of an object on the heap?
What checkbox method allows you to tell if a checkbox is checked?
What is percentage in java?
Does treeset use compareto?
What is meant by string is immutable?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
What do you understand by copy constructor in java?
What is ternary operator?
Is math an abstract class in java?
How to use arraylist in java netbeans?
Which category the java thread do fall in?
What is incompatible types in java?
Is alive in java?