Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What are byte codes?

1293


What happens if we don’t override run method ?

1060


What does microservices mean?

1001


What is methods and methodology?

1069


How to overcome the exception object reference not set to an instance of object?

1202


Explain restrictions for using anonymous inner classes?

1137


What are internal variables?

1048


Is java call by value?

1130


What is wrapper class html?

989


Which method must be implemented by all threads?

1318


What is meant by bytecode?

1077


What is garbage collector?

1131


Why do we need singleton class?

1043


Can a method inside a interface be declared as final?

1041


Explain implementation and how is it different from conversion?

1128