suppose string s1="rajnish";
string s2="bhaskar";
then what will be happend ?

Answer Posted / tejas gowda

Two String Object run successfuly and will be saved in the
heap memory

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

521


What is the largest long allowed by java?

537


How do you clear a method in java?

540


How is a structure different from array ?

582


What is the use of volatile in java?

601






What are the actions that can occur when a thread enters blocked state?

582


What is var keyword ?

740


what is difference betweem home interface and remote interface?

2114


Is it possible to write a regular expression to check if string is a number?

543


What is string [] java?

528


What is meant by design patterns?

585


In a container there are 5 components. I want to display the all the components names, how will you do that one?

604


What is r * in math?

551


What are void pointers?

714


Is there any difference between nested classes and inner classes?

536