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 the use of abstract class?

Answer Posted / rakesh

Java Abstract classes are used to declare common
characteristics of subclasses. An abstract class cannot be
instantiated. It can only be used as a superclass for other
classes that extend the abstract class. Abstract classes
are declared with the abstract keyword. Abstract classes
are used to provide a template or design for concrete
subclasses down the inheritance tree

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1127


What does the ‘static’ keyword mean? Is it possible to override private or static method in java?

1036


What is an example of a keyword?

1165


Explain what is encapsulation?

1140


What do you mean by scope of variable?

940


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

1033


How does hashmap work in java ?

1107


How to make a class or a bean serializable?

1032


How we can skip finally block of exception even if some exception occurs in the exception block in java?

1000


Is upper case in java?

1010


What are the 2 types of java programs?

1157


What is difference between variable declaration and definition?

1013


How java is similar to c?

1096


What are generic methods?

1041


What is a line break example?

1045