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 / aburar yaseen

we have to have the file name of the class having main
function. if all the three classes are having the main
method we can have any one of the class name as file name.

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why synchronization is important in java?

1047


What do you understand by the term wrapper classes?

1004


What does sizeof return?

994


What is java english?

1008


Can we override the static methods?

1033


What is instance synchronization?

1050


Wha is the output from system.out.println(“hello”+null); ?

1145


What is final keyword in java?

1023


What happens if we override only equals?

975


What is bom encoding?

1002


What is string syntax?

1056


What is object-oriented programming?

1129


Can we have two methods in a class with the same name?

1054


What are the three types of design patterns?

966


What is the platform?

1002