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. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  2. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  3. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  4. The break statement is required in the default case of a switch selection structure.
  5. Which of the following statements are true?
  6. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  7. It is perfectly legal to refer to any instance variable inside of a static method.
  8. An individual array element that is passed to a method and modified in that method will contain the…
  9. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  10. Connection, Statement are interfaces and ResultSet is a class.
  11. When the string objects are compared with ==, the result is true If the strings contain the same values.
  12. Two methods cannot have the same name in Java.
  13. Which of the following methods can be used to change the size of a size() *resize()
  14. The modulus operator (%) can be used only with Integer operands.
  15. Which of the following methods can be used to remove a component from the display?
  16. The name of a Java program file must match the name of the class with the extension Java.
  17. In RMI we invoke client method from remote server
  18. The check box group class is a subclass of the component class.
  19. class.forName(...) creates an instance of java ODBC driver
  20. A string object can not be modified after it is created.
  21. Which of the following methods can be used to draw the outline of a square?
  22. The keywords reserved but not used in the initial version of Java re:
  23. Which of the following represent legal flow control statements?
  24. Which of the following are the wrapper classes?
  25. putValue(...) method takes _____________________-
  26. Any method in a supper class can be over ridden in its subclass.
  27. To delete a file, we can use an instance of class file.
  28. Submit button always fires doPost(...)
  29. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  30. It is an error to have a method with the same signature in both the super class and its subclass.