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

Write a java program that prints all the values given at command-line.

555


What is the string function?

557


What is a treeset in java?

545


Define max and min heap, also the search time of heap.

591


What does += mean in java?

573






What is difference between jdk,jre and jvm?

567


What are the restrictions imposed by a Security Manager on Applets?.

2064


Define an applet in java?

630


Differences between traditional programming language and object oriented programming language?

571


What is append in java?

631


What are the different data types in java?

532


What is the best definition for data?

521


What is keyword and identifier?

640


What is your platform?s default character encoding and how to know this?

1753


What is the use of singleton class?

523