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

Explain public static void main(string args[]) in java.

931


Is java written in c?

911


What are the two ways to create a thread?

948


What are the advantages of functions?

869


How do you declare a destructor in java?

928


What is lexicographically smallest string?

1016


What is the difference between import java.util.date and java .util?

1003


Is java a digit method?

946


define the terminology association.

1048


What is the purpose of checked and unchecked exceptions in JAVA?

954


Why for each loop is used?

960


What's the purpose of static methods and static variables?

1033


What is array in java?

943


What package is math in java?

946


What are class members by default?

1020