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

A. True

B. False

You can do it
  1. Which javadoc tag is used to denote a comment for methods parameters?
  2. Which of the following command lines options generates documentation for all classes and methods?
  3. A variable declared inside the for loop control can not be referenced out side the loop.
  4. When we invoke repaint () for a Component, the AWT invokes the method:
  5. Which of the following represent legal flow control statements?
  6. Which of the following methods belong to the String class?
  7. The use of protected keyword to a member in a class will restrict its visibility as follows:
  8. It is an error to have a method with the same signature in both the super class and its subclass.
  9. A catch can have comma-separated multiple arguments.
  10. Any class may be inherited by another class in the same package.
  11. Members of a class specified as private are accessible only to the methods of the class.
  12. The import statement is always the first no comment statement in a Java program files.
  13. Two methods cannot have the same name in Java.
  14. An EJB is a server-side component that encapsulates the business logic of an application
  15. The name of a Java program file must match the name of the class with the extension Java.
  16. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  17. The modulus operator (%) can be used only with Integer operands.
  18. JSP files creates ________________
  19. The name of the RMI compiler is ___________
  20. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  21. A panel can not be added to another panel.
  22. It is perfectly legal to assign a subclass object to a supper class reference.
  23. EJBs can be of the following type(s)None of the above
  24. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  25. When present, package must be the first no comment statement in the file.
  26. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  27. In a single Servlet class we can use____________
  28. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  29. The methods wait() and noify() are defined in
  30. DataInput is