class A{
class B{
}
}
in which name u save the file,its the program compile?
Answer Posted / vipul
We can save the program by any name either A or B,
Program will compile but will not run......
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is array length?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
What is the benefit of using enum to declare a constant?
What is methods and methodology?
What is the difference between arraylist and hashset in java?
What is polymorphism and what are the types of it?
Is string an object?
Explain runtime exceptions?
How to invoke external process in java.
Explain the difference between runnable and callable interface in java?
Can we have any code between try and catch blocks?
What is lossy conversion in java?
What is the use of jtable?
What is difference between next () and nextline () in java?
What is a get method?