Home

If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.

A. True

B. False

You can do it
  1. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  2. When the string objects are compared with ==, the result is true If the strings contain the same values.
  3. Which of the following classes are available in the java.lang package?
  4. The keywords reserved but not used in the initial version of Java re:
  5. In the code below, what data types the variable x can have?
  6. The import statement is always the first no comment statement in a Java program files.
  7. JdbcOdbcDriver is an object of Object class
  8. Java always provides a default constructor to a class.
  9. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  10. Which of the following are keywords?
  11. A catch can have comma-separated multiple arguments.
  12. We would like to make a member of a class visible in all subclasses regardless of what package they…
  13. A JSP file can be stored_________________
  14. It is an error to have a method with the same signature in both the super class and its subclass.
  15. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  16. Members of a class specified as private are accessible only to the methods of the class.
  17. Every method of a final in class is implicitly final.
  18. What does the following line of code do?TextField text=new TextField(10);
  19. Throwing an exception always causes program termination.
  20. Which of the following will produce a value of 10 if x = 9.7?
  21. A class may be both abstract and final.
  22. Which of the following methods can be used to draw the outline of a square?
  23. executeUpdate(------------) returns ___________
  24. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  25. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  26. Which key word can protect a class in package from accessibility by the classes outside the package?
  27. The methods wait() and noify() are defined in
  28. Declaring a method synchronized guarantees that the deadlock cannot occur.
  29. A variable declared inside the for loop control can not be referenced out side the loop.
  30. A string object can not be modified after it is created.