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


Please Help Members By Posting Answers For Below Questions

What is parsing a string?

873


What is the difference between the prefix and postfix forms of the ++ operator?

801


Explain features of interfaces in java?

796


Outline the major features of java.

834


Which are the two subclasses under exception class?

777


What is mvc in java?

816


Is zero a natural number?

803


What is exception hierarchy in java?

808


Can I use % with real numbers?

783


How do you override a private method in java?

715


What is string :: npos?

803


What is the difference between inheritance and encapsulation?

883


Why is the main method declared static?

882


What is a protected method?

887


What is the exact difference in between unicast and multicast object? Where we will use?

804