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 include a string in java?
What do you mean by exception handling in Java?
Why string is called as immutable?
What are different types of constants?
What do you mean by platform independence?
What is a two-pass assembler?
Write a program in java to create a doubly linked list containing n nodes.
How do you override a method in java?
What is the importance of main method in Java?
What is the need of transient variables in Java ?
What is integers and example?
What is double word?
What is the old name of java?
Which methods are used during serialization and deserialization process?
What are the differences between getting and load method?