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

Answer Posted / guest

Two object will create.

Is This Answer Correct ?    30 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a java developer salary?

547


Where is singleton pattern used?

529


What is method in java ?

628


What is map in java?

521


Is set ordered in java?

573






What is stream api in java8?

538


What are filterstreams?

615


What is 16 bits called?

502


What is the difference between a local variable and an instance variable?

552


What is the indent key?

592


What is the difference between super class & sub class?

567


Explain the use of volatile field modifier?

636


What is run time allocation?

579


Can you instantiate the math class?

602


What is Enum in Java?

686