Home

Java always provides a default constructor to a class.

A. True

B. False

You can do it
  1. In a single Servlet class we can use____________
  2. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  3. Which of the following statements are true?
  4. Given the codeString s = new String("abc");Which of the following calls are valid?
  5. In the code below, what data types the variable x can have?
  6. Which exception is thrown by the read() method of InputStream class?
  7. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  8. Which of the following will produce a value of 22 if x=22.9:
  9. class.forName(...) creates an instance of java ODBC driver
  10. Which are the valid ways to create DataInputStream streams?
  11. One the features of is that an array can store many different types of values.
  12. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  13. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  14. The check box group class is a subclass of the component class.
  15. We would like to make a member of a class visible in all subclasses regardless of what package they…
  16. The programmer must explicitly create the system .in and system .out objects.
  17. executeUpdate automatically updates data because___________
  18. Which of the following command lines options generates documentation for all classes and methods?
  19. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  20. In RMI before running the client program we must start RMI Registry.
  21. Which of the following are keywords?
  22. Consider the following class definitions: class maths { student student1; } class student { String name;…
  23. Every method of a final in class is implicitly final.
  24. forName() is a static factory method
  25. The setBackground() method is part of the class
  26. Which of the following methods can be used to remove a component from the display?
  27. A string object can not be modified after it is created.
  28. Which of the following statements are valid array declarations?
  29. Which javadoc tag is used to denote a comment for methods parameters?
  30. Session bean