Home

JdbcOdbcDriver is an object of Object class

A. True

B. False

You can do it
  1. Frames and applets cannot be used together in the same program.
  2. The import statement is always the first no comment statement in a Java program files.
  3. When present, package must be the first no comment statement in the file.
  4. Which of the following statements are true?
  5. When we invoke repaint () for a Component, the AWT invokes the method:
  6. Objects are passed to a method by use of call-by-reference.
  7. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  8. Which of the following will produce a value of 22 if x=22.9:
  9. Any class may be inherited by another class in the same package.
  10. Which javadoc tag is used to denote a comment for methods parameters?
  11. When we implement the Runnable interface, we must define the method
  12. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  13. Consider the following class definitions: class maths { student student1; } class student { String name;…
  14. It is an error to have a method with the same signature in both the super class and its subclass.
  15. We would like to make a member of a class visible in all subclasses regardless of what package they…
  16. Which of the following are the wrapper classes?
  17. A method declared as static can not access non-static class members.
  18. We can add more than one class(es) at the time of compilation Java Beans.
  19. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  20. A panel can not be added to another panel.
  21. Which of the following will produce a value of 10 if x = 9.7?
  22. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  23. It is perfectly legal to refer to any instance variable inside of a static method.
  24. Declaring a method synchronized guarantees that the deadlock cannot occur.
  25. All the bitwise operators have the same level of precedence in Java.
  26. A Java monitor must either extend thread class or implement Runnable interface.
  27. Which of the following command lines options generates documentation for all classes and methods?
  28. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  29. The check box group class is a subclass of the component class.
  30. Which of the following represent legal flow control statements?