Which of the following control expressions are valid for an if statement?

A. an integer expression

B. a Boolean expression

C. either A or B

D. Neither A or B

You can do it
  1. When we invoke repaint () for a Component, the AWT invokes the method:
  2. A final class may not have any abstract method.
  3. In RMI before running the client program we must start RMI Registry.
  4. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  5. putValue(...) method takes _____________________-
  6. Every method of a final in class is implicitly final.
  7. Which of the following methods belong to the String class?
  8. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  9. Java always provides a default constructor to a class.
  10. executeUpdate automatically updates data because___________
  11. When we implement an interface method, it should be declared as public.
  12. The programmer must explicitly create the system .in and system .out objects.
  13. When we implement the Runnable interface, we must define the method
  14. A method declared as static can not access non-static class members.
  15. Give file is a file object, which of the following are legal statements to create a new file.
  16. Which key word can protect a class in package from accessibility by the classes outside the package?
  17. Which of the following represent legal flow control statements?
  18. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  19. Which of the following keywords are used to control access to a class member?
  20. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  21. Frames and applets cannot be used together in the same program.
  22. When the string objects are compared with ==, the result is true If the strings contain the same values.
  23. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  24. We can over load methods with differences only in their return type.
  25. The modulus operator (%) can be used only with Integer operands.
  26. The methods wait() and noify() are defined in
  27. Which of the following are not keywords?
  28. Servlet can have ___________
  29. Any class may be inherited by another class in the same package.
  30. Which of the following control expressions are valid for an if statement?