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
java program with complete 4 oops concepts implemented example
What is the difference between interface & abstract class?
Explain restrictions for using anonymous inner classes?
What is the major advantage of external iteration over internal iteration?
Why does my function print none?
What are class types in java?
Can vector have duplicates in java?
What is percentage in java?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
Is there a jre for java 11?
What is preparedstatement in java?
Is it possible for a yielded thread to get chance for its execution again?
Can we able to pass objects as an arguments in java?
What is the default value of the local variables?
Can we override the overloaded method?