how to create thread in java?
Answer Posted / vijay tandel
Thread can be created by
1. Extending Thread Class
2. implementing Runnable interface
The second approach is better as if you want to use multiple
inheritance, interface is better option.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
write a C++ program for booking using constructor and destructor.
What is basic concept of oop?
what type of question are asked in thoughtworks pair programming round ?
Which is not an object oriented programming language?
What is inheritance in simple words?
What is use of overloading?
Why is oop useful?
What are the important components of cohesion?
What is oops in simple words?
Which language is not a true object oriented programming language?
What is polymorphism give a real life example?
What is overriding vs overloading?
What is object and class in oops?
What is coupling in oops?
Where is pseudocode used?