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
  1. What is java -g used for?
  2. All methods in an abstract class must be declared abstract.
  3. The programmer must explicitly create the system .in and system .out objects.
  4. class.forName(...) creates an instance of java ODBC driver
  5. Submit button always fires doPost(...)
  6. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  7. When we implement the Runnable interface, we must define the method
  8. We can add more than one class(es) at the time of compilation Java Beans.
  9. It is an error to have a method with the same signature in both the super class and its subclass.
  10. JSP files creates ________________
  11. It is perfectly legal to refer to any instance variable inside of a static method.
  12. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  13. One the features of is that an array can store many different types of values.
  14. Every method of a final in class is implicitly final.
  15. Declarations can appear anywhere in the body of a Java method.
  16. Which of the following statements are true?
  17. Java is fully object oriented programme.
  18. A method declared as static can not access non-static class members.
  19. Consider the following class definitions: class maths { student student1; } class student { String name;…
  20. In RMI before running the client program we must start RMI Registry.
  21. executeUpdate automatically updates data because___________
  22. The methods wait() and noify() are defined in
  23. Which of the following methods belong to the String class?
  24. Which of the following command lines options generates documentation for all classes and methods?
  25. Which of the following methods can be used to remove a component from the display?
  26. A constructor must always invoke its supper class constructor in its first statement.
  27. Members of a class specified as private are accessible only to the methods of the class.
  28. The name of a Java program file must match the name of the class with the extension Java.
  29. putValue(...) method takes _____________________-
  30. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…