What is the difference between Abstract Class and Interface
Answer Posted / e.bhavani
1) all abstract methods of the abstract class should be
implemented in its sub classes
all the (abstract) methods of the interface should be
implemted in its implementation classes
2) abstract class can contain instancevariables also
interace can not contation instance varibles. it contations
only constants.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Difference between string, string builder, and string buffer?
How do you define a parameter?
How does java pattern compile work?
What is t type java?
What are the important methods of java exception class?
what are the methods in object?
What is a java predicate?
What is a parent class in java?
How many digits is int32?
How do you compare values in java?
What are use cases?
What are operators and its types?
what is meant by Garbage collection?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
How do you control extraneous variables?