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 if constructor is private?
What is the best definition for data?
Why java is not 100% object-oriented?
What is passed by reference and pass by value ?
What is the generic class?
If a method is declared as protected, where may the method be accessed?
What is object-oriented paradigm?
How is a variable stored in memory?
What are the files generated after using IDL to java compiler?
What is toarray method in java?
Is java se open source?
How does sublist works in java?
What is fundamental datatype?
Is singleton class immutable?
Can we increase array size dynamically in java?