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. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  2. Which of the following will produce a value of 10 if x = 9.7?
  3. Objects are passed to a method by use of call-by-reference.
  4. Servlet can have ___________
  5. In order to connect to a database through java program we must create _______-
  6. Which of the following methods belong to the String class?
  7. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  8. Declarations can appear anywhere in the body of a Java method.
  9. Which of the following methods can be used to draw the outline of a square?
  10. Which of the following classes are available in the java.lang package?
  11. A final class may not have any abstract method.
  12. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  13. A string object can not be modified after it is created.
  14. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  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 command lines options generates documentation for all classes and methods?
  17. Any class may be inherited by another class in the same package.
  18. The break statement is required in the default case of a switch selection structure.
  19. Consider the following class definitions: class maths { student student1; } class student { String name;…
  20. A JSP file can be stored_________________
  21. We can add more than one class(es) at the time of compilation Java Beans.
  22. executeUpdate automatically updates data because___________
  23. Java is fully object oriented programme.
  24. forName() is a static factory method
  25. Which of the following methods can be used to remove a component from the display?
  26. We can over load methods with differences only in their return type.
  27. All the bitwise operators have the same level of precedence in Java.
  28. What does the following line of code do?TextField text=new TextField(10);
  29. Which of the following are not keywords?
  30. Members of a class specified as private are accessible only to the methods of the class.