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

We can save it as A.java because there the main is included
in this class, And this also is not closed until the main
finction.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java reflection api?

973


what is meant by encapsulation?

1040


Which non-unicode letter characters may be used as the first character of an identifier?

970


Can interface be private in java?

953


What is size of int in java?

1006


how to handle exceptions in ejb?

2267


How will you load a specific locale?

933


What is the relationship between class and object?

989


Java.util.regex consists of which classes?

949


How many bits are in a sentence?

1095


What does index mean in java?

938


Explain the reason behind ending a program with a system.exit(0)?

1046


Can we make a constructor final?

973


Why java is secure? Explain.

982


Is a case study a method or methodology?

854