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...

Explain class A{}
class B{}
class C{}
all the three classes are saved in a single file name, what
the name should i provide to the file ,in what file name
should i run the program? Ple Explain

Answer Posted / cool_duzz

The name of the file should be the same as the class having
public access modifier.. otherwise u can put it the way u
like. 3 .class files will be generated by compiler.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What defines function?

919


Can we use return in constructor?

882


What is empty string literal in java?

993


What is the vector class in java programming?

1004


What is the difference between this() and super() in java?

983


Is class is a data type?

1019


Explain the difference between an Interface and an Abstract class?

1113


Is static a keyword in java?

918


How do you end a program?

1032


Why main method is static in java?

1101


How do you sort in descending order in java using collections sort?

847


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

1168


How does sublist works in java?

900


Is there any difference between nested classes and inner classes?

1027


who can i handle multiple client in RMI

1834