which one the better thread emplemented thread or extended ?
Answer Posted / ravikiran
implementing runnable interface is a bettr practice
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Define array. Tell me about 2-D array.
What do you mean by an object in java?
Do you need to import math in java?
What are the ways to instantiate the class class?
Why does java have two ways to create child threads? Which way is better?
What is the string function?
What is an escape character in java?
Explain the difference between the public, private, final, protected, and default modifiers?
Can you explain inner class.
What is method with example?
How can we make a class singleton?
how can you take care of mutual exclusion using java threads? : Java thread
Differentiate between vector and array list.
How many bits is a string in java?
How do you declare an array in java?