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. The break statement is required in the default case of a switch selection structure.
  2. Connection, Statement are interfaces and ResultSet is a class.
  3. Consider the following class definitions: class maths { student student1; } class student { String name;…
  4. A string object can not be modified after it is created.
  5. EJBs can be of the following type(s)None of the above
  6. What is java -g used for?
  7. Any class may be inherited by another class in the same package.
  8. DataInput is
  9. JSP files creates ________________
  10. Which of the following methods can be used to remove a component from the display?
  11. In RMI before running the client program we must start RMI Registry.
  12. All methods in an abstract class must be declared abstract.
  13. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  14. What does the following line of code do?TextField text=new TextField(10);
  15. Java always provides a default constructor to a class.
  16. All the bitwise operators have the same level of precedence in Java.
  17. One the features of is that an array can store many different types of values.
  18. The check box group class is a subclass of the component class.
  19. executeUpdate(------------) returns ___________
  20. A method declared as static can not access non-static class members.
  21. The length of a string object 's1' can be obtained using the expression s1.length.
  22. Which of the following are not keywords?
  23. When present, package must be the first no comment statement in the file.
  24. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  25. Which of the following statements are true?
  26. Which of the following control expressions are valid for an if statement?
  27. A static class method can be invoked by simply using the name of the method alone.
  28. Which of the following methods can be used to draw the outline of a square?
  29. The programmer must explicitly create the system .in and system .out objects.
  30. Servlet has ___________