Difference between abstract class and Interfaces in Java
Answer Posted / manish sharma
Abstract classes Interfaces
Abstract classes are used only when there is a “is-a” type
of relationship between the classes. Interfaces can be
implemented by classes that are not related to one another.
You cannot extend more than one abstract class. You can
implement more than one interface.
Abstract class can implemented some methods also.
Interfaces can not implement methods.
With abstract classes, you are grabbing away each class’s
individuality. With Interfaces, you are merely extending
each class’s functionality.
| Is This Answer Correct ? | 24 Yes | 4 No |
Post New Answer View All Answers
write algo for cobol program whichuse three flat file to extract some specific information 8 marks mainframe
Is class is a abstract datatype in java?
how to check single or double byte in struts
I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...
Do not use more than 3 nested IF. Use Evaluate statement in case of more IF required. Please give a detail explantion besides readability and clarity for Evaluate stmt.
What is ur porject Architecture? If anyone ask what i have to specify here..
Write a shell program. Enter number of days from keyboard. Find out the number of years, month and days it contains
what is technical system, business system, logical system in sap pi7.0
Write a shell program where you enter a number which corresponds to K.M. Find out the corresponding values in m, cm, inches, and feet. Hints:- 1 k.m= 1000 m 1 m= 100 cm 1 inches= 2.54 cm. 1 feet= 12 inches
Define distributed queries. can you explain me as soon as possible
Write a shell program to test whether a given year is leap year or not ?
can u send some model papers how computer awareness questions are asked in goverment jobs(oriental insurance)to my mail id me.priyankapadma@rediff.com
how pseudo column works?
qtp 9.2 14 days demo version was expired.I uninstalled how to reinstall this again
write the a cl program with the following specification A. Accept 2 parameters-date and date type B. if date type is J then convert date to *MDY format C. if date type is M convert date to *JUL format 4.send a program message with the value of converted date Please explain for each with coding?