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
Why is the main method static?
Can we have multiple catch block for a try block?
Why scanner is used in java?
Which command from the jdk compiles a java program?
What are the 3 types of loops in java?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
How to use string tokenizer class.
What is struts in java?
Can we declare an interface as final?
What is the use of put method?
Name component subclasses that support painting in java programming?
What is meant by overloading?
What are the methods used to implement for the key object in the hash map?
What are checked exceptions?
What is class forname used for?