what is main difference b/w abstract class and interface
Answer Posted / shikha sharma
1) Every method in interface class should be abstract, but
this is not necessary in abstract class.
2)abstract class is a class which must have at least one
abstract method.
interface is a class which having all abstract methods.By
default interface methods are public abstract.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why are generics used?
What is the platform?
What is the difference between hashset and treeset in java?
What is a nonetype?
What is the meaning of immutable regarding string?
Is alive method in java?
What will happen if static modifier is removed from the signature of the main method?
What are the basic concepts of OOPS in java?
In java, how many ways you can take input from the console?
What is public static void main?
Describe the Big-O Notation.
What is difference between static and final?
Are functions objects in java?
What do you understand by a Static Variable?
What is thread start?