what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / prabir kumar
1) Classes can implements any no. of interfaces, but
extends only one abstract class.
2) interfaces can be best the choice when your program need
some global variables.
| Is This Answer Correct ? | 24 Yes | 8 No |
Post New Answer View All Answers
What is variable and example?
What is difference between path and classpath?
What are static blocks in java ?
How we can make copy of a java object?
What is multi-catch block in java?
Why are the destructors for base class and derived class called in reverse order when the program exits
Does unicode support all languages?
why java does not support unsigned keyword?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
What is the size of a string in java?
What is a modifier?
In how many ways we can create threads in java?
What is the difference between access specifiers and access modifiers in java? 16
What is difference between static and final?
What is off heap memory?