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 is the purpose of static keyword in java?
Explain access specifiers?
Explain all java features with real time examples
What is array length?
What is boolean data type in java?
How do you compare values in java?
When to use runnable interface vs thread class in java?
Why is stringbuffer thread safe?
Is singleton class thread safe?
What are peerless components?
Tell us something about set interface.
What is difference between static class and normal class?
What is the meaning of immutable regarding string?
Is null function in java?
Where will it be used?