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 do you mean by object?
What is the difference between inner class and nested class?
What is percentage in java?
What are inner classes or non static nested classes in java?
What are computer functions?
What is the benefit of inner classes in java?
Write a program to check string is palindrome without using loop?
Who is founder of java?
Describe what a thread-local variable is in java?
What environment variables do I need to set on my machine in order to be able to run java programs?
how does multithreading take place on a computer with a single cpu? : Java thread
Is java developer a good career?
What is null mean in java?
What is the final keyword denotes?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?