how to create thread in java?
Answer Posted / bijoy
Their are specifically two different approaches to create
threads in Java:
1.By Extending thread class.
2.By Implementing runnable interface.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Why do while loop is used?
Why is polymorphism needed?
How to call a non virtual function in the derived class by using base class pointer
Why is there no multiple inheritance?
What is the real life example of polymorphism?
What is the importance of oop?
What are oops functions?
What is object in oops?
What is for loop and its syntax?
How do you define a class in oop?
Where is pseudocode used?
What is coupling in oop?
What are two types of polymorphism?
What is abstraction encapsulation?
What is super in oop?