how to create thread in java?
Answer Posted / bijoy kumar baral
There is two ways for creating Thread in Java:
1.Extending Thread class
2.Implementing Runnable Interface
Second one is much more benificial than 1st one,as we can
able to avoid the overriden methods.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is a class oop?
What is property in oops?
What is constructor in oop?
What is object in oops?
What are functions in oop?
What is overriding vs overloading?
Can abstract class have normal methods?
When not to use object oriented programming?
What is the advantage of oop over procedural language?
Which language is pure oop?
What is encapsulation in oop?
What is stream in oop?
What is encapsulation and abstraction? How are they implemented in C++?
What does no cap mean?
What is the importance of oop?