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 are the important components of cohesion?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is a class oop? What are the 5 oop principles? Why is abstraction needed? What is cohesion in oop? What are the 3 principles of oop? What does I oop mean? Is enum a class? What polymorphism means? What is for loop and its syntax? Why do we use oop? What is the benefit of oop? What is an interface in oop? What is encapsulation c#?