what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / nanda
diff b/w abstract class and interface
1.Abstract class contain both normal fn as well as Abstract
fn wheras Interface can define only abstract fn.
2.by default declared variable in interface is static and
final.
in realtime projects we use inerfaces in AWT OR SWING,where
we implement the inerfaces and use them
| Is This Answer Correct ? | 30 Yes | 12 No |
Post New Answer View All Answers
Which object oriented concept is achieved by using overloading and overriding?
what is object-oriented programming in java?
What is the purpose of the System class?
What is boolean in java?
How is abstraction implemented in java ?
Define linked list and its features with signature?
Define jre i.e. Java runtime environment?
What is the purpose of the return statement?
What is the properties class?
Does java have extension methods?
What are the different types of methodologies?
Difference between this() and super() ?
What are the differences between abstract class and interface?
Which variable is the independent variable?
What is nextint java?