Question
class X implements Runnable
{
public static void main(String args[])
{
/* Missing code? */
}
public void run() {}
}
class X implements Runnable
{
public static void main(String args[])
{
/* Missing code? */
}
public void run() {}
}
Which of the following line of code is suitable to start a thread ?
Answer: Option C
Was this answer helpful ?
Option C is suitable to start a thread.
Was this answer helpful ?
More Questions on This Topic :
Question 1.
Which of these statement is incorrect?
....
Submit Solution