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
Write a program to print the pattern given below
Can we have a try block without catch block?
what methods would you overwrite in java.lang.object class?
Can a class declared as private be accessed outside it’s package?
Are arrays primitive data types?
How you can force the garbage collection?
What do you understand by abstract classes?
What is blank final variable?
What is bigger kb or mb?
What is a method in programming?
What does the @override annotation do?
What is difference between wait and notify in java?
What is the destroy method?
What do you understand by copy constructor in java?
What are the differences between heap and stack memory?