Home

A Java monitor must either extend thread class or implement Runnable interface.

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. forName() is a static factory method
  2. In order to connect to a database through java program we must create _______-
  3. An EJB is a server-side component that encapsulates the business logic of an application
  4. Which key word can protect a class in package from accessibility by the classes outside the package?
  5. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  6. Objects are passed to a method by use of call-by-reference.
  7. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  8. A JSP file can be stored_________________
  9. In a single Servlet class we can use____________
  10. With javadoc, which of the following denotes a javadoc comment?
  11. The modulus operator (%) can be used only with Integer operands.
  12. JdbcOdbcDriver is an object of Object class
  13. class.forName(...) creates an instance of java ODBC driver
  14. Which of the following statements are true?
  15. Which of the following command lines options generates documentation for all classes and methods?
  16. When the string objects are compared with ==, the result is true If the strings contain the same values.
  17. One the features of is that an array can store many different types of values.
  18. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  19. The setBackground() method is part of the class
  20. The concept of multiple inheritance is implemented in Java by
  21. When we implement an interface method, it should be declared as public.
  22. A catch can have comma-separated multiple arguments.
  23. What is java -g used for?
  24. Submit button always fires doPost(...)
  25. Which are the valid ways to create DataInputStream streams?
  26. We would like to make a member of a class visible in all subclasses regardless of what package they…
  27. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  28. DataInput is
  29. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  30. In the code below, what data types the variable x can have?