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 method vs function?

546


What are kinds of processors?

561


Explain listiterator and methods in listiterator?

542


When should you make a function static?

539


What are the states of thread in java?

508






Is arraylist sorted in java?

525


How to reverse string in java?

610


Can we create object of inner class in java?

489


Can we write class inside a class in java?

546


What is private static in java?

573


Is empty list java?

515


What is a flag variable?

557


Does isempty check for null?

550


Is it possible to compare various strings with the help of == operator?

540


What is the main use of generics in java?

504