Difference between Interface & Abstract class?

Answer Posted / abnish kumar rajput

Abstract class is a class with may having abstract methods
or not.Whereas Interface supports multiple inheritences of
classes note that java does not directly support this concept.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is char a data type in java?

771


2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?

2088


What is java life cycle?

773


Is zero a positive integer?

794


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

793


What is the difference between notify and notifyall method?

847


What is the point of polymorphism java?

777


What is the significance of continue jump statement? Explain with an example.

1056


How many bytes is string in java?

920


Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls

1702


What is the static import?

847


Explain about assignment statement?

834


What does int argc char * argv [] mean?

745


Explain the difference between serializable and externalizable in java?

775


What are the changes in java.io in java 8 ?

781