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 g mean in regex?
What is unicode in java?
What is communist flag?
What is the Concept of Encapsulation in OOPS
What is the default size of arraylist in java?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
What is the difference between hashmap and hashtable in java?
Can I override protected method in java?
What is immutable in java?
What will happen when using pass by reference in java?
How do you compare characters in java?
What is the final keyword in java?
Is void a keyword in java?
Explain the difference between a Thread and a Process.
Explain about transient variables in java?