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

Answer Posted / aruna raman

'S' should be in capital for string.. Java is case
sensitive, then it will run successfully.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between path and classpath variables?

533


Explain enumeration in java?

569


Which are the two subclasses under exception class?

531


Does java list allow null?

550


Differentiate between stringbuffer and string?

599






What are peerless components?

624


What are the four corner stones of oop?

549


How do you create a reference in java?

512


Is java call by value?

587


What is the difference between method overriding and overloading?

584


Can we have try block without catch block?

588


What is a conditional equation?

562


What is starvation?

684


How many classes can any class inherit java?

510


Can a list be null in java?

544