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

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The methods wait() and noify() are defined in
  2. Give file is a file object, which of the following are legal statements to create a new file.
  3. All methods in an abstract class must be declared abstract.
  4. A string object can not be modified after it is created.
  5. It is an error to have a method with the same signature in both the super class and its subclass.
  6. Which of the following represent legal flow control statements?
  7. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  8. Which of the following methods can be used to change the size of a size() *resize()
  9. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  10. Which exception is thrown by the read() method of InputStream class?
  11. Which of the following control expressions are valid for an if statement?
  12. A JSP file can be stored_________________
  13. An individual array element that is passed to a method and modified in that method will contain the…
  14. Which of the following will produce a value of 22 if x=22.9:
  15. Which of the following command lines options generates documentation for all classes and methods?
  16. A package is a collection of
  17. We would like to make a member of a class visible in all subclasses regardless of what package they…
  18. The default case is always required in the switch selection structure.
  19. Which of the following are keywords?
  20. Which of the following methods can be used to draw the outline of a square?
  21. The concept of multiple inheritance is implemented in Java by
  22. Objects are passed to a method by use of call-by-reference.
  23. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  24. Declaring a method synchronized guarantees that the deadlock cannot occur.
  25. Java always provides a default constructor to a class.
  26. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  27. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  28. Which of the following keywords are used to control access to a class member?
  29. In a single Servlet class we can use____________
  30. The name of the RMI compiler is ___________