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

class a
{
}
class b extends a
{
}
class c
{
public static void main(String arg[])
{
b b1=new b();
....
}
}
so file name c...

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a boolean 1 bit?

1122


How to use arraylist in java netbeans?

1097


Which method must be implemented by all threads?

1318


How do you find the independent variable?

1126


Can we sort list in java?

1023


Which is better arraylist or vector?

1066


How does system arraycopy work in java?

1185


What is scope of a variable?

1156


Explain the inheritance?

1042


Explain java thread life cycle.

1088


java Technical questions asked by JPMC

5143


Is java programming easy?

1044


What are static blocks and static initalizers in java ?

1138


How to convert string to char and vice versa?

1050


Why multiple inheritance is not supported by java?

1025