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 a class oop?
What exactly is polymorphism?
What are the 5 oop principles?
How to call a non virtual function in the derived class by using base class pointer
Can we override main method?
Can enum be null?
Why do while loop is used?
What is encapsulation in ict?
What is the purpose of polymorphism?
What is abstraction in oops with example?
What is abstraction in oop with example?
What is polymorphism in oops with example?
officer say me - i am offered to a smoking , then what can you say
How do you define a class in oop?
What is static modifier?