+ 2

Are run() and start() default methods in Java?

1st May 2017, 10:37 PM
Angela
1 Respuesta
+ 6
the method run() is used with an object of a class that implements Runnable interface the method start() is used with an object of class Thread , run in a new thread and call to the run method internally
2nd May 2017, 1:03 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar