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
  1. The default case is always required in the switch selection structure.
  2. Connection, Statement are interfaces and ResultSet is a class.
  3. A method declared as static can not access non-static class members.
  4. Which key word can protect a class in package from accessibility by the classes outside the package?
  5. Which of the following represent legal flow control statements?
  6. The break statement is required in the default case of a switch selection structure.
  7. The programmer must explicitly create the system .in and system .out objects.
  8. To delete a file, we can use an instance of class file.
  9. A package is a collection of
  10. The concept of multiple inheritance is implemented in Java by
  11. Which of the following methods can be used to draw the outline of a square?
  12. It is an error to have a method with the same signature in both the super class and its subclass.
  13. forName() is a static factory method
  14. The methods wait() and noify() are defined in
  15. A panel can not be added to another panel.
  16. One the features of is that an array can store many different types of values.
  17. A constructor must always invoke its supper class constructor in its first statement.
  18. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  19. With javadoc, which of the following denotes a javadoc comment?
  20. EJBs can be of the following type(s)None of the above
  21. In a single Servlet class we can use____________
  22. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  23. In order to connect to a database through java program we must create _______-
  24. Servlet has ___________
  25. We can add more than one class(es) at the time of compilation Java Beans.
  26. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  27. All methods in an abstract class must be declared abstract.
  28. Members of a class specified as private are accessible only to the methods of the class.
  29. Which of the following will produce a value of 10 if x = 9.7?
  30. Every call to wait has a corresponding call to notify that will eventually end the wafting.