suppose string s1="rajnish";
string s2="bhaskar";
then what will be happend ?
Answer Posted / selvan
It shows compile error, bcoz without class how it should be
run? so only coming expection. Declaration And all correct.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Is final static java?
What does main method?
Does java vector allow null?
What are the four pillars of java?
How many types of the indexof method are there for strings?
What are the Static and Dynamic Variables? Differentiate them.
What is your platform’s default character encoding?
What does mean in regex?
How do you sort a list in java?
What is the difference between replace and replace all?
How to find the index of the largest number in an arraylist java?
How do you download stubs from Remote place?
How do you reverse a word in java?
Why is it called a string?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread