Answer Posted / janet
1.All the methods declared inside an interface are abstract
where as abstract class must have atleast one abstract
method and others may be concrete or abstract.
2.In abstract class ,keyword abstract must be used for the
methods where as interface we need not use that keyword for
the methods.
3. Abstract class must have subclass where as interface
can't have subclasses.
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is the purpose of garbage collection in java? When is it used?
What is class forname used for?
What is console based application in java?
Can we increase array size dynamically in java?
What does += mean coding?
How many types of methods are there in java?
What are keyboard events?
can rmi and corba based applications interact ?
Explain try and catch keywords in java?
How many decimal places is a double?
what r advatages of websphere? & how to deploy?
Why is java architectural neutral?
What is return null in java?
Can a constructor be private and how are this() and super() method used with constructor?
What is the difference between static class and normal class?