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

Write java program to reverse string without using api?

1104


Is void a type?

1021


What are streams?

1161


Can an interface have a class?

1041


What is the difference between overriding and overloading in OOPS.

1200


Is a copy constructor?

1111


Can we declare a class as static?

1142


can java object be locked down for exclusive use by a given thread? : Java thread

1153


what do you understand by synchronization? : Java thread

1054


How do you define a variable?

992


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

2039


What is the purpose of assert keyword used in jdk1.4.x?

1122


Which is faster set or list in java?

1075


What is bitwise complement?

1027


Write a program to print fibonacci series up to count 10.

962