What is the correct answer?


A thread can make second thread ineligible for execution by calling the suspend (-) method on second thread.

A. True

B. False

Correct Answer :

A. True

Related Questions

All methods in an abstract class must be declared abstract. Which of the following represent legal flow control statements? Which of the following control expressions are valid for an if statement? A variable declared inside the for loop control can not be referenced… A JSP file can be stored_________________ The length of a string object 's1' can be obtained using the expression… Give file is a file object, which of the following are legal statements… One the features of is that an array can store many different types of… Declaring a method synchronized guarantees that the deadlock cannot occur. Which of the following represent legal flow control statements? An EJB is a server-side component that encapsulates the business logic… When the string objects are compared with ==, the result is true If the… Throwing an exception always causes program termination. Which javadoc tag is used to denote a comment for methods parameters? EJBs can be of the following type(s)None of the above In the code below, what data types the variable x can have? Which of the following methods can be used to remove a component from… Consider the following statements: int x = 10, y = 15; x = ((x < y)… A catch can have comma-separated multiple arguments. Any class may be inherited by another class in the same package. Which of the following statements are valid array declarations? If you want to assign a value of 99 to the variable year, then which of… We can over load methods with differences only in their return type. The import statement is always the first no comment statement in a Java… For all insert, update, delete, query operations on a database, ResultSet… It is an error if a class with one or more abstract methods is not explicitly… Which of the following string can be used as mode string for creating… forName() is a static factory method All the bitwise operators have the same level of precedence in Java. The default case is always required in the switch selection structure.