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
Why is a string immutable?
What is update method called?
What are the different ways of creating thread?
What are the 3 types of control structures?
What is the importance of static variable?
Is string a class in java?
Can we create our own daemon thread?
What are data types in programming?
what is optional in java 8?
Which sorting algorithm is best in java?
What are the types of sockets in java?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
What is a buffer in computer?
What is thread safe singleton?
How do you use spaces in java?