how to create thread in java?

Answer Posted / mohan

by extending thread class or by implementing runnable
interface

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object in oop with example?

705


Why is object oriented programming so hard?

616


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1584


What is polymorphism and example?

594


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4248






What is solid in oops?

617


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1639


What is class and example?

569


What is polymorphism give a real life example?

563


How do you define social class?

603


What is the fundamental idea of oop?

638


What do you mean by overloading?

585


What language is oop?

597


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2038


How many human genes are polymorphic?

577