class A
{
class B
{
psvm(String args[])
{
}
}
}
if the prg saved in A.java whats the o/p?
Answer Posted / kalpana
output
-------
Inner classes cannot have static declarations
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is == in java?
Why singleton class is used in java?
Define how can we find the actual size of an object on the heap?
What are mutable classes?
What is hash in java?
How many bytes are a float?
Is java a virus?
How to display names of all components in a Container?
What is floor in java?
Why hashmap is used in java?
Can a class with private constructor be extended?
What is an empty class? What functionality does it offer in Java?
Explain different forms of polymorphism?
How do we access static members in java?
How is garbage collection controlled?