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
How to make a non daemon thread as daemon?
What must a class do to implement an interface in java programming?
How do you do absolute value in java?
Which collection is ordered in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
What are the drawbacks of singleton class?
How do you use compareto method?
What is the byte range?
Can we convert integer to string in java?
Can we have try block without catch block?
what is mutual exclusion? : Java thread
Explain heap sort?
What is a variable declaration?
How do you sort in ascending order in java?
what is object slice?