what are the diffrences between interface and abstract
class?
Answer Posted / ravikiran
interface is a purely abstract one when we wish to
implement all the methods for different scenarios in
different places we make use of implementation of the
interface.
abstract class is the one which contains both abstract as
well as non abstarct methods,We will define this if you
want ot restrict the instantiation of the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can a class be private in java?
Explain the difference between comparator and comparable in java?
What is byte code and why is it important to java’s use for internet programming?
What is return keyword in java?
Explain the concept of hashtables?
How do I know if java is installed?
Give the hierarchy of inputstream and outputstream classes.
What is an escape character in java?
What is * argv?
What is <> used for in java?
What is stringreader?
Differentiate between the constructors and methods in java?
What is reflexive association?
What is the benefit of inner classes in java?
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