how to create thread in java?
Answer Posted / rahul madanan
There are two methods to create thread in java :
(1). By extending the Thread class.
(2). By implementing the Runnable interface.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is oops concept with example?
What is the point of polymorphism?
What is destructor example?
What are the benefits of oop?
How do you achieve runtime polymorphism?
What does no cap mean?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
Why is abstraction used?
Why do we need oop?
What is for loop and its syntax?
What is abstraction in oops?
Which language is not a true object oriented programming language?
What is pure oop?
What is object in oops?
What is multilevel inheritance?