how to create thread in java?
Answer Posted / vamsikrishna
we can do it in two ways.
one is by extending thread class and other is by
implementing Runnable interface.
here the later one is good because when we are going for
mutiple inheritance only interface helps us
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is abstraction in oops with example?
What is polymorphism and why is it important?
What is a class in oop?
What is an advantage of polymorphism?
What are the benefits of polymorphism?
why reinterpret cast is considered dangerous?
What is an interface in oop?
#include
What do you mean by variable?
What is encapsulation oop?
What is meant by multiple inheritance?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
What is inheritance in oop?
any one please tell me the purpose of operator overloading
What are oops functions?