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 is the point of polymorphism java?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is keyword auto for?
Why do we declare a class static?
What is the technique adopted to create an immutable class?
What is type inference in java8?
What is the Concept of Encapsulation in OOPS
Difference between keyword and identifier.
What is a java string?
Can we convert list to set in java?
Why declare Main() method as a static in java ?
What is the difference between an array and an array list?
What is the size of arraylist in java?
Which is a valid identifier?
What are the two types of java programming?