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

what is main purpose of abstract class?

Answer Posted / harshavardhan

In Inheritance , class become more general and more
abstract.Ancestor classes are more general, i.e more basis
for other classes.Abstract classes can have fields and
concrete methods.Methods are declared not defined so we can
not create objects. but we can create object variables of an
abstract class. but such variable must refer to an object of
a nonabstract subclass.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

1227


what do you mean by classloader in java?

1074


What is meant by binding in rmi?

1069


Can we sort array in java?

1012


Why is it important to initialize a variable?

1053


Similarity and difference between static block and static method ?

979


What are the 2 types of java programs?

1159


what is the difference between future and callable interface in java?

1320


Why do we override tostring method in java?

1027


Can static method access instance variables ?

1190


What is meant by vector class, dictionary class, hash table class, and property class?

1239


What is a numeric digit?

1138


Can we define a package statement after the import statement in java?

1120


What is a variable and constant?

1063


Can a vector contain heterogenous objects?

1121