how to create thread in java?
Answer Posted / vamsikrishna
we can do it in two ways.
one is by extending thread class and other is by
implementing Runnable interface.
here the later one is good because when we are going for
mutiple inheritance only interface helps us
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation example?
What is encapsulation in oops?
What is overloading in oops?
What are two types of polymorphism?
What do you mean by abstraction?
How do you achieve runtime polymorphism?
What is a class and object?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is inheritance in simple words?
Why is oop better than procedural?
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 persistence in oop?
Can main method override?
What are the 3 pillars of oop?
What is class and object in oops?