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 charat java?
What are the object and class classes used for?
What is a dynamic array in java?
What is a ternary operator in java? What is an interface?
what is singleton in java?
What is passing parameters in java?
When can we say that threads are not lightweight process in java?
Explain about field hiding in java?
What is a bufferedreader?
Why is java multithreaded?
What mechanism does java use for memory management?
What is the benefit of lambda expressions?
Which is better arraylist or vector?
Which sorting is used in arrays sort in java?
Why main method is static in java?