which one the better thread emplemented thread or extended ?
Answer Posted / arun
thread implements is the better one no need of creating a
thread object(thread t =new thread()),we just write t.run()
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Can static method access instance variables ?
Can we have two methods in a class with the same name?
What is the length of a string?
What mechanism does java use for memory management?
What are different types of states exist for a thread?
What is your platform?s default character encoding and how to know this?
define the terminology association.
What is nested class?
Can you run java program without main method?
What is the use of bufferedreader?
What is the meaning of I ++ in java?
Java Compiler is stored in JDK, JRE or JVM?
What is int argc char * argv?
What is return in java?
What is use of inner class in java?