Home

Java always provides a default constructor to a class.

A. True

B. False

You can do it
  1. In RMI before running the client program we must start RMI Registry.
  2. When the string objects are compared with ==, the result is true If the strings contain the same values.
  3. Which of the following keywords are used to control access to a class member?
  4. Which of the following classes are available in the java.lang package?
  5. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  6. In the code below, what data types the variable x can have?
  7. The break statement is required in the default case of a switch selection structure.
  8. Submit button always fires doPost(...)
  9. Consider the following class definitions: class maths { student student1; } class student { String name;…
  10. executeUpdate(------------) returns ___________
  11. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  12. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  13. Which of the following represent legal flow control statements?
  14. Session bean
  15. The length of a string object 's1' can be obtained using the expression s1.length.
  16. A constructor must always invoke its supper class constructor in its first statement.
  17. Java always provides a default constructor to a class.
  18. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  19. Java is fully object oriented programme.
  20. One the features of is that an array can store many different types of values.
  21. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  22. Throwing an exception always causes program termination.
  23. When we implement the Runnable interface, we must define the method
  24. Objects are passed to a method by use of call-by-reference.
  25. A Java monitor must either extend thread class or implement Runnable interface.
  26. It is an error to have a method with the same signature in both the super class and its subclass.
  27. Connection, Statement are interfaces and ResultSet is a class.
  28. A class may be both abstract and final.
  29. Two methods cannot have the same name in Java.
  30. Which of the following command lines options generates documentation for all classes and methods?