what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / khaleek ahmad
Abstract class is a special kind of class which can not be
instantiated while Interface is an Entity. You can define
some methods in Abstract class but can not in interface
For more detail see at
http://interview-preparation-for-you.blogspot.com/2010/10/difference-between-abstract-class-and.html
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is java a virus?
Is singleton class thread safe?
Why constructor has no return type?
What is the difference between multiple processes and multiple threads?
What are static methods?
What are static initalizers in java ?
What is the concept of multithreading?
What data type is string java?
If a method is declared as protected, where may the method be accessed?
Which variables are stored in heap?
Explain serialization and deserialization in java?
Is string thread safe in java?
How many types of keywords are there?
what is optional in java 8?
How java enabled high performance?