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

Is there a way to increase the size of an array after its declaration?

690


Does a function need a return?

633


What is diamond operator in java?

587


How do you sort in descending order in java using collections sort?

591


Where is java located?

603






What's the purpose of using break in each case of switch statement?

593


Can we have a try block without catch block?

657


What is an array length?

588


What is meant by memory leak?

622


What is the difference between class & structure?

666


What is java literals?

672


Explain thread life cycle in java?

671


what is mutual exclusion? : Java thread

655


Tell me are there implementations for sorting and searching in the java libarary?

696


What about interrupt() method of thread class ?

678