Home

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 yup
  1. The name of a Java program file must match the name of the class with the extension Java.
  2. DataInput is
  3. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  4. Members of a class specified as private are accessible only to the methods of the class.
  5. Servlet can have ___________
  6. A constructor must always invoke its supper class constructor in its first statement.
  7. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  8. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  9. Frames and applets cannot be used together in the same program.
  10. A variable declared inside the for loop control can not be referenced out side the loop.
  11. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  12. Which of the following statements are valid array declarations?
  13. We can add more than one class(es) at the time of compilation Java Beans.
  14. Every method of a final in class is implicitly final.
  15. Objects are passed to a method by use of call-by-reference.
  16. The methods wait() and noify() are defined in
  17. A string object can not be modified after it is created.
  18. When we invoke repaint () for a Component, the AWT invokes the method:
  19. The default case is always required in the switch selection structure.
  20. A Java monitor must either extend thread class or implement Runnable interface.
  21. A catch can have comma-separated multiple arguments.
  22. Given the codeString s = new String("abc");Which of the following calls are valid?
  23. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  24. Which of the following represent legal flow control statements?
  25. The name of the RMI compiler is ___________
  26. Which of the following methods can be used to change the size of a size() *resize()
  27. With javadoc, which of the following denotes a javadoc comment?
  28. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  29. A JSP file can be stored_________________
  30. One the features of is that an array can store many different types of values.