Home

In order to connect to a database through java program we must create _______-

A. Connection, Statement, ResultSet

B. Connection, ResultSet

C. Statement< ResultSet

D. Connection, Statement

You can do it
  1. It is an error to have a method with the same signature in both the super class and its subclass.
  2. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  3. In RMI we invoke client method from remote server
  4. EJBs can be of the following type(s)None of the above
  5. Which of the following are keywords?
  6. A final class may not have any abstract method.
  7. It is perfectly legal to assign a subclass object to a supper class reference.
  8. The name of a Java program file must match the name of the class with the extension Java.
  9. An individual array element that is passed to a method and modified in that method will contain the…
  10. Which of the following will produce a value of 22 if x=22.9:
  11. A string object can not be modified after it is created.
  12. Frames and applets cannot be used together in the same program.
  13. All the bitwise operators have the same level of precedence in Java.
  14. The name of the RMI compiler is ___________
  15. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  16. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  17. It is perfectly legal to refer to any instance variable inside of a static method.
  18. One the features of is that an array can store many different types of values.
  19. Which of the following methods can be used to draw the outline of a square?
  20. The concept of multiple inheritance is implemented in Java by
  21. We can add more than one class(es) at the time of compilation Java Beans.
  22. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  23. We would like to make a member of a class visible in all subclasses regardless of what package they…
  24. forName() is a static factory method
  25. In RMI before running the client program we must start RMI Registry.
  26. A static class method can be invoked by simply using the name of the method alone.
  27. In order to connect to a database through java program we must create _______-
  28. Any method in a supper class can be over ridden in its subclass.
  29. Two methods cannot have the same name in Java.
  30. We can over load methods with differences only in their return type.