Which of the following will produce a value of 10 if x = 9.7?

A. floor(x)

B. abs(x)

C. rint(x)

D. round(x)

You can do it
  1. Any method in a supper class can be over ridden in its subclass.
  2. Two methods cannot have the same name in Java.
  3. Servlet has ___________
  4. The use of protected keyword to a member in a class will restrict its visibility as follows:
  5. We would like to make a member of a class visible in all subclasses regardless of what package they…
  6. EJBs can be of the following type(s)None of the above
  7. Which key word can protect a class in package from accessibility by the classes outside the package?
  8. The default case is always required in the switch selection structure.
  9. Which of the following are not keywords?
  10. In order to connect to a database through java program we must create _______-
  11. Servlet can have ___________
  12. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  13. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  14. Which of the following are the wrapper classes?
  15. When we implement the Runnable interface, we must define the method
  16. The setBackground() method is part of the class
  17. Which of the following represent legal flow control statements?
  18. A package is a collection of
  19. forName() is a static factory method
  20. Which of the following methods belong to the String class?
  21. A JSP file can be stored_________________
  22. When the string objects are compared with ==, the result is true If the strings contain the same values.
  23. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  24. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  25. All methods in an abstract class must be declared abstract.
  26. The check box group class is a subclass of the component class.
  27. A static class method can be invoked by simply using the name of the method alone.
  28. Which of the following methods can be used to draw the outline of a square?
  29. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  30. JdbcOdbcDriver is an object of Object class