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
How do you invoke a method?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What is supplier in java?
Where we write javascript code in html page?
Is linkedlist thread safe in java?
What are advantages and disadvantages of OOPs?
Explain about main thread in java?
What if static is removed from main method?
What is jit and its use?
Can you pass by reference in java?
What is final int?
What is entry set in java?
What is array command?
How do I know if java is installed?
What is difference in between java class and bean?