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
What is data object example?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
Can constructor be protected in java?
Difference between class#getinstance() and new operator ?
What class allows you to read objects directly from a stream?
Why call by value prevents parameter value change?
What are green threads in java?
extending thread class or implementing runnable interface. Which is better? : Java thread
What is abstraction in java?
What are different types of states exist for a thread?
Can we have try block without catch block?
What is meant by local variable and instance variable?
What is a class instance variable?
What methodology can be employed to locate substrings inside a string?
What is passing by reference in java?