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
What is java thread dump, how can we get java thread dump of a program?
Can java list contain duplicates?
Is java pass by value or pass by reference?
Is it safe to install java on my computer?
What is a blocking method in Java?
What do you mean by platform independence? What is an interface?
What are the steps involved to create a bean?
Can the garbage collection be forced by any means?
What are three advantages of using functions?
how to run ecllipse with jettyserver for windows environment using batch file
What is a functional interface?
What is mean by encoding?
Is integer immutable in java?
What is nested loop? What is dangling else condition in it?
Which list does not allow duplicates in java?