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 difference between multiple inheritance and multilevel inheritance?
Can we override main method?
What is the difference between procedural programming and oops?
Can an interface inherit a class?
what is the sylabus for priliminaries?
What is the purpose of polymorphism?
What are the advantages of polymorphism?
Can a varargs method be overloaded?
What polymorphism means?
What is difference between abstraction and encapsulation?
What is a function in oop?
What are the 5 oop principles?
What is the highest level of cohesion?
What causes polymorphism?
What are the data types in oop?