If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface?

Answer Posted / sumit jain

i am not agree with the answer provided by prasad bhagwat
as already mention inthe question that all the method of
abtract class are declared as abstract and as per rules of
abstract class impletation you need to provide
implemenation of all abstract methods present in abstract
class unitl & unlesss you declared child class also as an
abstract class.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about sets?

565


Can we initialize the final blank variable?

578


Can one thread block the other thread?

601


What is balanced tree in java?

532


What is the difference between an if statement and a switch statement?

648






What is the difference between notify and notifyall method?

613


What is a nullable field?

575


What is scope of a variable?

603


What is broken and continue statement?

530


Why does java have two ways to create child threads? Which way is better?

541


What is difference between fail-fast and fail-safe?

582


What is the range of a character variable?

541


Differentiate between nested and inner class in java.

553


How to instantiate member inner class?

624


What is the difference between the prefix and postfix forms of the ++ operator?

552