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
Does java support multiple inheritances?
Explain the JDB in depth & command line.
What does this () mean in constructor chaining concept?
what are the methods in object?
How do you declare an array in java?
What are advantages of exception handling in java?
According to java operator precedence, which operator is considered to be with highest precedence?
What is difference between throw and throws ?
What is compiler and what its output.
What is the benefit of inner / nested classes ?
What things should be kept in mind while creating your own exceptions in java?
When is the finalize() called?
Are maps ordered java?
How do you escape a string?
What are the advantages of java over C++?