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
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
Explain the protected field modifier?
when to use ArrayList and when to use HashMap in webApplication.
What is the return type of the main method?
What is Gang of four design patterns
What is the difference between iterator and enumeration ?
What is an eror in java?
How do you sort arraylist in descending order?
What is parsing a string?
What is == in java?
What is primitive array?
What data structures are used to perform recursion?
What is equals method in java?
why doesn't java run on all platforms?
What is locale?