class A{
class B{
}
}
in which name u save the file,its the program compile?
Answer Posted / kalpana
output
-------
Inner classes cannot have static declarations
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
what is static import in java? Explain
What are keywords in java?
Is constructor inherited?
Which is easier .net or java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What is the largest data type in java?
What classes of exceptions may be caught by a catch clause in java programming?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
what is the difference between future and callable interface in java?
What is the most important feature of java? What is an interface?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What exactly is a .class file?
How do you call a reference in java?
Explain list interface?