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

What is the difference between exception and error in java?

962


What is unsigned char?

1013


What is the difference between a switch statement and an if statement?

1017


What is sizeof () operator?

927


What is the difference between stringbuffer and stringbuilder?

986


What are the differences between processes and threads?

993


Can a class with private constructor be extended?

879


Explain the differences between static and dynamic variables?

1084


What is the java virtual machine?

1020


Why is java so popular?

1056


What is a values collection view ?

1034


How to store image in arraylist in java?

921


Write a program to find the whether a number is an Armstrong number or not?

958


How does callback work in java?

997


What is the difference between length and length() method in java?

1057