Home

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

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

You can do it
  1. Which of the following statements are true?
  2. Which of the following statements are true?
  3. We can add more than one class(es) at the time of compilation Java Beans.
  4. We would like to make a member of a class visible in all subclasses regardless of what package they…
  5. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  6. A final class may not have any abstract method.
  7. When the string objects are compared with ==, the result is true If the strings contain the same values.
  8. A class may be both abstract and final.
  9. Which of the following are keywords?
  10. Which of the following are not keywords?
  11. All the bitwise operators have the same level of precedence in Java.
  12. It is an error to have a method with the same signature in both the super class and its subclass.
  13. A method declared as static can not access non-static class members.
  14. The concept of multiple inheritance is implemented in Java by
  15. In RMI we invoke client method from remote server
  16. Objects are passed to a method by use of call-by-reference.
  17. Which of the following keywords are used to control access to a class member?
  18. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  19. In order to connect to a database through java program we must create _______-
  20. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  21. A variable declared inside the for loop control can not be referenced out side the loop.
  22. In a single Servlet class we can use____________
  23. Consider the following class definitions: class maths { student student1; } class student { String name;…
  24. Give file is a file object, which of the following are legal statements to create a new file.
  25. The break statement is required in the default case of a switch selection structure.
  26. Which are the valid ways to create DataInputStream streams?
  27. The name of a Java program file must match the name of the class with the extension Java.
  28. Any class may be inherited by another class in the same package.
  29. The modulus operator (%) can be used only with Integer operands.
  30. Servlet has ___________