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

Is java hashset ordered?

1175


What is the difference between and ?

1089


How a variable is stored in memory?

1047


Explain importance of inheritance in java?

1077


How do you find the absolute value?

1107


What is object data type?

1047


Write a function for palindrome and factorial and explain?

1139


For class CFoo { }; what default methods will the compiler generate for you>?

1116


What is rmi and steps involved in developing an rmi object?

1114


What is polymorphism in java? What are the kinds of polymorphism?

1115


What is javac used for?

984


What is the difference between @before and @beforeclass annotation?

1196


Explain about core java?

1192


What is a java applet? What is an interface?

1138


What are synchronized blocks in java?

1275