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 / ujjal

main method must be outside of the class B.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is passing parameters in java?

1101


What is java util collection?

1161


What is the functionability stubs and skeletons?

1207


Is age discrete or continuous?

1193


What are alternatives to java serialization?

1187


What is visibility mode?

1018


What is static block?

1188


What is string in java? String is a data type?

1062


What is data string?

1049


Are constructors methods?

1076


What is overloading and overriding in java?

1290


What are the three parts of a lambda expression?

1063


Why static functions are used?

1147


What is multiple inheritance? Is it supported by java?

1017


Can we override the overloaded method?

1195