Answer Posted / himanshu kapoor
IF this question is that in how many ways we can use the thread in java?, then answer is that there are two ways
1. by implementing Runnable interface and
2. by inheriting Thread (abstract class)
| Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
What happens when a thread cannot acquire a lock on an object in java programming?
Which class should you use to obtain design information about an object in java programming?
What is supplier in java?
Write a program to find the greatest of three numbers in java?
Write a program to print count of empty strings in java 8?
How would overload a function based on return type?
What is the meaning of variables in research?
What is functional interface in java?
Explain Basics of OOP Language in java
What is int lol?
What is the dot operator?
Why we go for collections in java?
What is this keyword used for?
What is stringreader?
Can the interface be final?