how to create thread in java?
Answer Posted / teja
We r creating threads in java by extending d thread class
or by implementing runnable interface.
Syntax for creaton of thread is:
Thread var=new Thread(Runnableobject,"Stringname");
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is and I oop mean?
Why is object oriented programming so hard?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is abstraction and encapsulation?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
State what is encapsulation and friend function?
What are the 4 pillars of oop?
What is class and example?
What is oops and why we use oops?
What is class in oop with example?
What is multilevel inheritance explain with example?
program for insertion ,deletion,sorting in double link list
c++ program to swap the objects of two different classes
What is destructor example?
Explain the advantages of inheritance.