How many objects are created when we create String class
object using new operator?

Answer Posted / shalini

using new operator, we can create same object 'n' no of
times of the same string class coz jvm would never verify
for the existing object wenever we create the object using
new operator

Is This Answer Correct ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the exclamation mark mean in java?

895


What is the difference between the font and fontmetrics classes in java programming?

691


What is data and its types?

753


What is increment in java?

714


What is equals method in java?

735


What is a boolean structure?

775


What is java used for?

765


How can constructor chaining be done using this keyword?

919


What does string [] args mean?

728


Can I override protected method in java?

789


What are anonymous inner classes?

736


What are the advantages of compiled language?

793


What is the effect of keeping a constructor private?

661


Can we inherit inner class?

730


How can we make a class singleton?

797