how to create thread in java?

Answer Posted / bijoy

Their are specifically two different approaches to create
threads in Java:
1.By Extending thread class.
2.By Implementing runnable interface.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why multiple inheritance is not possible?

596


why reinterpret cast is considered dangerous?

1896


What is abstraction oop?

622


What is destructor give example?

601


What are the two different types of polymorphism?

669






Which language is not a true object oriented programming language?

640


What is the renewal class?

2161


Advantage and disadvantage of routing in telecom sector

783


Prepare me a program for the animation of train

1994


What is overloading in oops?

596


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6143


Why interface is used?

549


What is encapsulation in oop?

601


What is abstraction and encapsulation?

569


What does and I oop and sksksk mean?

649