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 do you mean by inner class in java?
What is final class?
Can we have any code between try and finally blocks?
Is namespace same as package in java?
When would you use a static class?
Is vector ordered in java?
What is the private method modifier?
What is the maximum size of a string in java?
How do you call a reference in java?
How to solve the problem of generating the unique hash keys with hash function?
When parseint method can be used?
Is zero a natural number?
What environment variables are required to be set on a machine in order to run Java programs?
What is skeleton and stub?
What is method overloading in JAVA? Why is it not present in C ?