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 are the various access specifiers in java?
What is the difference between declaration and definition in java?
Explain about java sdk?
What is the applet security manager, and what does it provide?
What is thread life cycle in java?
Which method must be implemented by all threads?
What is the final method?
what is a thread pool in java and why is it used?
How do you input a string in java?
What do you mean by pointer value and address?
What is the difference between serial and throughput garbage collector?
Is a class subclass of itself?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
What is an array length?
Does constructor be static?