what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / sandeep kumar duey
we can see difference between abstract and inteface class
when we donig thread programming and use Runnable inteface
and Thread class because in case of when we need use
more than one class so in case we use Runnable intface
because we can use more than than one inteface with single
class but can extends only one class .
We also know that java does not support multipal inheritance
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the benefits of operations in java?
What is difference between string and new string?
What are the 6 functions?
How do you start a new line in java?
How can we achieve thread safety in java?
how can you take care of mutual exclusion using java threads? : Java thread
What is byte [] in java?
What is method overloading with type promotion?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What is a void in java?
Can you write a java class that could be used both as an applet as well as an application?
What do you mean by access modifier?
Explain try and catch keywords in java?
What is strings in java?
Can a private method be declared as static?