class A
{
class B
{
psvm(String args[])
{
}
}
}
if the prg saved in A.java whats the o/p?
Answer Posted / chanchal
Compilation error:-
Becouse Inner classes cannot have static declarations
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are byte codes?
What happens if we don’t override run method ?
What does microservices mean?
What is methods and methodology?
How to overcome the exception object reference not set to an instance of object?
Explain restrictions for using anonymous inner classes?
What are internal variables?
Is java call by value?
What is wrapper class html?
Which method must be implemented by all threads?
What is meant by bytecode?
What is garbage collector?
Why do we need singleton class?
Can a method inside a interface be declared as final?
Explain implementation and how is it different from conversion?