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 are abstract classes and how they impliment , with
example

Answer Posted / manoj kumar

abstract class is a class which may or may not contain
abstract method.
abstract class can,t be instantiated i.e. we can,t
create object of an abstract class.
abstract class can be subclasses .
abstract class is a class which is declared abstract.
if any class contain abstract method then it can be
declared abstract.
example
abstract class{

abstract public void display();//abstract method
}
abstract method is method which is declared but not
implemented i.e. without braces followed by semicolon.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class in oop?

1124


• What are the desirable attributes for memory managment?

2225


What is the full form of oops?

1177


What does sksksk mean in text slang?

2110


What are the data types in oop?

1094


Can main method override?

1104


What is polymorphism what are the different types of polymorphism?

1006


What is difference between inheritance and polymorphism?

1020


What are the 4 main oop principles?

1219


What is the importance of oop?

1091


Can we override main method?

1194


Why do we use oop?

1094


How to hide the base class functionality in Inheritance?

1131


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4921


write a program that takes input in digits and display the result in words from 1 to 1000

2412