Answer Posted / janet
1.All the methods declared inside an interface are abstract
where as abstract class must have atleast one abstract
method and others may be concrete or abstract.
2.In abstract class ,keyword abstract must be used for the
methods where as interface we need not use that keyword for
the methods.
3. Abstract class must have subclass where as interface
can't have subclasses.
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What are class types in java?
Can we instantiate interface in java?
Is math class static in java?
What is string syntax?
How does predicate work in java?
What is api data?
Where are the card layouts used?
What are the 3 types of loops in java?
Is char a data type in java?
What is the simpletimezone class in java programming?
Explain the difference between throw and throws in java?
Discuss 2D arrays.
What is deserialization?
Which are different kinds of source code?
What are the steps involved to create a bean?