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 is protected in java?
what do you mean by marker interface in java?
What do you mean by ternary operator in java?
What are streams?
what is difference betweem home interface and remote interface?
What is the final access modifier in java?
What is the final blank variable?
What is the difference between final, finally and finalize() in java?
What is the difference between an inner class and a sub-class?
Is boolean a data type in java?
How to display arraylist values in java?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What happens if we override only equals?
What is nullpointerexception in java?
What is dynamic array in java?