Correct Answer: Loop
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
A block is enclosed inside ________.
A class specifies the ________ and ________ that a particular type of object has.
A declaration for an enumerated type begins with the ________ key word.
A java character is stored in ________.
A java program is stored in an executable file called a(n) ____ file.
Why can’t a string’s compareTo method be overridden?
Which methods can be used for reporting a warning on a Connection object, Statement object & ResultSet object?
Which is a well-known HTTP port?
Which distributed object technology is most appropriate for systems that consist of objects written in different languages and that execute on different operating system platforms?
Output of the given program? public class Test89 { public static void main(String[] args) { T x = new T(«X», null); x.start(); T y = new T(«Y», x); y.start(); T z = new T(«Z», y); z.start(); } } class T extends Thread { private Thread predecessor; private String name; public T(String name, Thread predecessor) { this.predecessor = predecessor; this.name = name; } public void run() { try { Thread.sleep((int)(Math.random()*89)); System.out.print(name); } catch (InterruptedException ie) { ie.printStackTrace(); } } }