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 parsing a string?
What is the difference between the prefix and postfix forms of the ++ operator?
Explain features of interfaces in java?
Outline the major features of java.
Which are the two subclasses under exception class?
What is mvc in java?
Is zero a natural number?
What is exception hierarchy in java?
Can I use % with real numbers?
How do you override a private method in java?
What is string :: npos?
What is the difference between inheritance and encapsulation?
Why is the main method declared static?
What is a protected method?
What is the exact difference in between unicast and multicast object? Where we will use?