What Is The Difference Between Abstract Class And Abstract Method?


5 Answers

Anonymous Profile
Anonymous answered
Abstract Class can have Abstract Methods and Concrete Methods which cannot be instantiated unless inherited.
Abstract method does not have implementation other than declaration.
sridher yamsani Profile
sridher yamsani answered
Abstract class may or may not contain abstract methods and it can't be instantiated. Even a class which is having all concrete methods can be declared as abstract class by using abstract keyword the main intention is to not instantiate the class only.
Abstract method always doesn't have definition of the method it will have only declaration always.
praveen kumar Profile
praveen kumar answered
Abstact class contains abstact methods and general methods. abstract method contain
only method declare.It implements later,
Mainly difeerence is Abstract class contains both Abstact and general methods, Abstact methods contains only that method method is Abstract.
ajeet sharma Profile
ajeet sharma answered
Abstruct class is a class. In abstruct class can be complete and incomplete class. We can execute data members in abstruct class. We can not make object in abstruct class.
Ajeet sharma
Anonymous Profile
Anonymous answered
Abstract Class:Abstract class is a class that has no direct instances, but whose descendants may have direct instances. There are case I which it is useful to define classes for which the programmer never intends to instantiate any objects; because such classes normally are used as base-classes in inheritance hierarchies, we call such classes abstract classes These classes cannot be used to instantiate objects; because abstract classes are incomplete. Derived classes called concrete classesmust define the missing pieces.

Abstract Method:An abstract class can have instance data and non-abstract methods -including constructors-.

Answer Question