Home

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. The keywords reserved but not used in the initial version of Java re:
  2. In order to connect to a database through java program we must create _______-
  3. What does the following line of code do?TextField text=new TextField(10);
  4. Which javadoc tag is used to denote a comment for methods parameters?
  5. We can over load methods with differences only in their return type.
  6. The concept of multiple inheritance is implemented in Java by
  7. Which of the following are the wrapper classes?
  8. It is perfectly legal to assign a subclass object to a supper class reference.
  9. In the code below, what data types the variable x can have?
  10. The check box group class is a subclass of the component class.
  11. Give file is a file object, which of the following are legal statements to create a new file.
  12. A package is a collection of
  13. Java always provides a default constructor to a class.
  14. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  15. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  16. When we implement the Runnable interface, we must define the method
  17. Which of the following methods can be used to draw the outline of a square?
  18. We would like to make a member of a class visible in all subclasses regardless of what package they…
  19. In RMI before running the client program we must start RMI Registry.
  20. Which of the following statements are true?
  21. With javadoc, which of the following denotes a javadoc comment?
  22. All the bitwise operators have the same level of precedence in Java.
  23. Servlet has ___________
  24. A constructor must always invoke its supper class constructor in its first statement.
  25. Declarations can appear anywhere in the body of a Java method.
  26. The programmer must explicitly create the system .in and system .out objects.
  27. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  28. Which of the following represent legal flow control statements?
  29. Session bean
  30. Which of the following will produce a value of 10 if x = 9.7?