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 is a generic code?
What do you mean by formatting?
How does hashset works in java?
Can we clone singleton object?
What does %4d mean in java?
Which methods cannot be overridden in java?
Explain the difference between hashmap and hashtable in java?
please send me hr interview questions in it industry
What is your platform?s default character encoding and how to know this?
Which collection allows duplicate values in java?
Tell me about different OOPS concepts.
How do I remove a character from a string in java?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
What is a predicate method?
Where pragma is used?