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. One the features of is that an array can store many different types of values.
  2. The break statement is required in the default case of a switch selection structure.
  3. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  4. Which of the following are keywords?
  5. Frames and applets cannot be used together in the same program.
  6. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  7. In the code below, what data types the variable x can have?
  8. A static class method can be invoked by simply using the name of the method alone.
  9. A package is a collection of
  10. A method declared as static can not access non-static class members.
  11. A final class may not have any abstract method.
  12. A panel can not be added to another panel.
  13. Which of the following statements are true?
  14. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  15. Submit button always fires doPost(...)
  16. Members of a class specified as private are accessible only to the methods of the class.
  17. The modulus operator (%) can be used only with Integer operands.
  18. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  19. Which of the following are the wrapper classes?
  20. Declarations can appear anywhere in the body of a Java method.
  21. The methods wait() and noify() are defined in
  22. forName() is a static factory method
  23. The name of a Java program file must match the name of the class with the extension Java.
  24. An individual array element that is passed to a method and modified in that method will contain the…
  25. The keywords reserved but not used in the initial version of Java re:
  26. DataInput is
  27. Servlet has ___________
  28. A class may be both abstract and final.
  29. Every method of a final in class is implicitly final.
  30. The length of a string object 's1' can be obtained using the expression s1.length.