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
What are the different types of inheritance in java?
Is there any tag in htm to upload and download files?
How do you remove duplicates from an array in java?
What is string and its types?
What's the default access specifier for variables and methods of a class?
What methods are used in Servlet?Applet communication?
What is difference between length and length() method in java ?
Explain parallel processing in java8?
Explain public static void main(string args[]).
Is a char always 1 byte?
What is oop principle in java?
What do you understand by looping in java? Explain the different types of loops.
What is the difference between stringbuffer and stringbuilder?
Define how objects are stored in java?
When will you define a method as static?