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


Please Help Members By Posting Answers For Below Questions

Does anyone still use java?

863


what do you understand by synchronization? : Java thread

797


Explain the transient field modifier?

804


How many types of constructors are used in java?

821


What is boolean false?

760


How do you check if a character in a string is a digit or letter?

815


In Java list the methods that can be overridden?

803


Is void a data type?

723


What is unicode with example?

827


Whats the difference between notify() and notifyall()?

811


how to deploy apache tomcat server to weblogic server in java

1817


What is a variable in java?

757


What is callable java?

762


What is the main advantage of passing argument by reference?

737


What is meant by class loader? How many types are there? When will we use them?

739