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. Connection, Statement are interfaces and ResultSet is a class.
  2. Given the codeString s = new String("abc");Which of the following calls are valid?
  3. Give file is a file object, which of the following are legal statements to create a new file.
  4. The break statement is required in the default case of a switch selection structure.
  5. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  6. In RMI we invoke client method from remote server
  7. Which of the following will produce a value of 22 if x=22.9:
  8. The setBackground() method is part of the class
  9. A class may be both abstract and final.
  10. JdbcOdbcDriver is an object of Object class
  11. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  12. Which of the following methods belong to the String class?
  13. A JSP file can be stored_________________
  14. Which of the following methods can be used to remove a component from the display?
  15. Which of the following are the wrapper classes?
  16. A package is a collection of
  17. It is perfectly legal to refer to any instance variable inside of a static method.
  18. Which of the following represent legal flow control statements?
  19. The name of a Java program file must match the name of the class with the extension Java.
  20. Which of the following methods can be used to change the size of a size() *resize()
  21. When present, package must be the first no comment statement in the file.
  22. All the bitwise operators have the same level of precedence in Java.
  23. A variable declared inside the for loop control can not be referenced out side the loop.
  24. Declaring a method synchronized guarantees that the deadlock cannot occur.
  25. Any class may be inherited by another class in the same package.
  26. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  27. When we implement an interface method, it should be declared as public.
  28. Which of the following keywords are used to control access to a class member?
  29. Servlet can have ___________
  30. class.forName(...) creates an instance of java ODBC driver