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

You can do it
  1. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  2. Which of the following will produce a value of 22 if x=22.9:
  3. EJBs can be of the following type(s)None of the above
  4. Servlet has ___________
  5. When we implement an interface method, it should be declared as public.
  6. Which of the following statements are true?
  7. In RMI before running the client program we must start RMI Registry.
  8. An individual array element that is passed to a method and modified in that method will contain the…
  9. Any method in a supper class can be over ridden in its subclass.
  10. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  11. We would like to make a member of a class visible in all subclasses regardless of what package they…
  12. The import statement is always the first no comment statement in a Java program files.
  13. DataInput is
  14. Which of the following statements are valid array declarations?
  15. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  16. executeUpdate(------------) returns ___________
  17. The length of a string object 's1' can be obtained using the expression s1.length.
  18. Java always provides a default constructor to a class.
  19. We can over load methods with differences only in their return type.
  20. forName() is a static factory method
  21. Which of the following control expressions are valid for an if statement?
  22. Which of the following keywords are used to control access to a class member?
  23. With javadoc, which of the following denotes a javadoc comment?
  24. Which of the following are not keywords?
  25. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  26. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  27. Session bean
  28. Which of the following methods belong to the String class?
  29. When the string objects are compared with ==, the result is true If the strings contain the same values.
  30. Which of the following are the wrapper classes?