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
What does sprintf mean?
What is multi-catch block in java?
Is empty string in java?
Explain with example the concept of constant variable in java.
How do you convert bytes to character in java?
Why Java is not pure Object Oriented language?
What is native code?
Why synchronization is important in java?
How many arguments can a method have java?
What is singleton service?
Difference between method overloading and overriding.
What is the Difference between Final Class && Abstract Class?
Which sorting is used in arrays sort in java?
What does file separator do in java?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?