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 the benefit of oop?
What are the 4 main oop principles?
What are the features of oop?
what are the realtime excercises in C++?
Why polymorphism is used in oops?
What is overriding vs overloading?
What are oops methods?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Can abstract class have normal methods?
What is class and object with example?
how to get the oracle certification? send me the answer
What is polymorphism oop?
What is object in oops?
what is graphics
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.