what is abstract class?

Answer Posted / vinaykumar.b.hiremath

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 bae-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 classes normally contain one or more abstract
methods or abstract properties, such methods or properties
do not provide implementations, but our derived classes must
override inherited abstract methods or properties to enable
obejcts ot those derived classes to be instantiated, not to
override those methods or properties in derived classes is
syntax error, unless the derived class also is an abstract
class.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

richman keeps in pocket poor man throws and kids eat me am an english word P-U--E--L

2056


what is the difference between interface and abstract class

1708


how to works epbx? how to configuration the epbx?

1501


difference between pvc and gi pipes?

1412


Sir Pl Provide the diploma nautical science sample paper

2069






can i have the model papers for gate along with answers on my email id krish231191@gmail.com please???

1828


If Q is the point of ABCD rectangle where QA=3CM,QB=4CM,and QC=5cm then find the length of QD ?

2453


.students decide to gift principal 4200 rupees. if teachers give 50% more than the students and an external person gives 3 times to that of teachers.how much do teachers give.

1835


what is theaverage weight of one brick?

1784


what is monetary policy

1936


sir , please send me previous gate ece questionpapers with explanations.i want 15 years of gate ece question papers

1763


plz send me bhel paper....

1764


Discussion Topic: “Statutory Defintions” Discussion Questions: Q1 Is it correct that a loan or an advance by a private limited company to a shareholder of the company is considered as payment of dividend? Explain your views. Q2 Will a loan or advance by a private limited company to its holding company be considered as payment of dividend if the subsidiary possesses sufficient amount of accumulated profits?

2357


Respected sir/madam, My self R SANKAR. I am final year BE civil engineering student (2014-2018). i have shortlisted for isro exam 2018.last university exam (7th sem) result was declared i have scored 6.98CGPA. but they not provide last result mark sheet still now 1. What are the documents bring to isro exam venue? 2. either bring bonafide certificate from college instead of mark sheets?

836


the servents of india society was founded by ?

1586