Home

Declaring a method synchronized guarantees that the deadlock cannot occur.

A. True

B. False

You can do it
  1. What is java -g used for?
  2. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  3. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  4. A variable declared inside the for loop control can not be referenced out side the loop.
  5. Connection, Statement are interfaces and ResultSet is a class.
  6. In the code below, what data types the variable x can have?
  7. The concept of multiple inheritance is implemented in Java by
  8. In order to connect to a database through java program we must create _______-
  9. executeUpdate(------------) returns ___________
  10. JSP files creates ________________
  11. With javadoc, which of the following denotes a javadoc comment?
  12. The length of a string object 's1' can be obtained using the expression s1.length.
  13. The methods wait() and noify() are defined in
  14. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  15. Declarations can appear anywhere in the body of a Java method.
  16. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  17. An EJB is a server-side component that encapsulates the business logic of an application
  18. executeUpdate automatically updates data because___________
  19. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  20. A method declared as static can not access non-static class members.
  21. Submit button always fires doPost(...)
  22. JdbcOdbcDriver is an object of Object class
  23. We can over load methods with differences only in their return type.
  24. EJBs can be of the following type(s)None of the above
  25. It is perfectly legal to assign a subclass object to a supper class reference.
  26. The use of protected keyword to a member in a class will restrict its visibility as follows:
  27. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  28. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  29. A panel can not be added to another panel.
  30. Declaring a method synchronized guarantees that the deadlock cannot occur.