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 the problem with multiple inheritance?
What is difference between polymorphism and inheritance?
What are objects in oop?
What is the difference between abstraction and polymorphism?
What is the highest level of cohesion?
What is polymorphism oop?
What are the 4 pillars of oop?
What are the data types in oop?
write a C++ program for booking using constructor and destructor.
What are two types of polymorphism?
What is data binding in oops?
Why do we need oop?
Why is polymorphism needed?
What are classes oop?
c++ program to swap the objects of two different classes