Home

Which of the following will produce a value of 22 if x=22.9:

A. Ceil(x)

B. Round(x)

C. Rint(x)

D. Abs(x)

You can do it yup
  1. Which of the following statements are valid array declarations?
  2. Which are the valid ways to create DataInputStream streams?
  3. When we invoke repaint () for a Component, the AWT invokes the method:
  4. Connection, Statement are interfaces and ResultSet is a class.
  5. Declaring a method synchronized guarantees that the deadlock cannot occur.
  6. The length of a string object 's1' can be obtained using the expression s1.length.
  7. Which key word can protect a class in package from accessibility by the classes outside the package?
  8. Any method in a supper class can be over ridden in its subclass.
  9. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  10. The modulus operator (%) can be used only with Integer operands.
  11. Session bean
  12. Which of the following are keywords?
  13. Which of the following are the wrapper classes?
  14. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  15. Which of the following represent legal flow control statements?
  16. Which of the following command lines options generates documentation for all classes and methods?
  17. The methods wait() and noify() are defined in
  18. In RMI before running the client program we must start RMI Registry.
  19. An EJB is a server-side component that encapsulates the business logic of an application
  20. It is perfectly legal to assign a subclass object to a supper class reference.
  21. When present, package must be the first no comment statement in the file.
  22. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  23. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  24. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  25. We can add more than one class(es) at the time of compilation Java Beans.
  26. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  27. Which exception is thrown by the read() method of InputStream class?
  28. It is an error to have a method with the same signature in both the super class and its subclass.
  29. DataInput is
  30. A class may be both abstract and final.