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 java in layman terms?

1017


How do you identify independent and dependent variables?

1008


What interface is extended by awt event listeners?

1060


What is autoboxing in java?

1072


Is java an ide?

992


What is the final field modifier?

980


Explain about main thread in java?

1090


What do you mean by access modifier?

1041


Are global variables initialized to zero?

963


What happens to the Exception object after handling an exception?

2374


When does an object becomes eligible for garbage collection in java?

1070


What are the 4 versions of java?

1169


What is difference between pointer and reference?

1077


What is the list interface in java programming?

1124


Can you add null to a list java?

1062