Home

What is the correct answer?

4

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)

Correct Answer :

C. Rint(x)


Related Questions

In RMI we invoke client method from remote server When we invoke repaint () for a Component, the AWT invokes the method: Which of the following represent legal flow control statements? The methods wait() and noify() are defined in Servlet can have ___________ The import statement is always the first no comment statement in a Java… When we implement the Runnable interface, we must define the method The setBackground() method is part of the class For all insert, update, delete, query operations on a database, ResultSet… If m and n are int type variables, what will be the result of the expression'm… Connection, Statement are interfaces and ResultSet is a class. Consider the following class definition.Class Student extends String{}What… A constructor must always invoke its supper class constructor in its first… A static class method can be invoked by simply using the name of the method… It is an error to have a method with the same signature in both the super… The name of a Java program file must match the name of the class with… In RMI before running the client program we must start RMI Registry. All methods in an abstract class must be declared abstract. Which of the following string can be used as mode string for creating… A class may be both abstract and final. It is perfectly legal to refer to any instance variable inside of a static… Java always provides a default constructor to a class. Which are the valid ways to create DataInputStream streams? The length of a string object 's1' can be obtained using the expression… We would like to make a member of a class visible in all subclasses regardless… With javadoc, which of the following denotes a javadoc comment? Which key word can protect a class in package from accessibility by the… The expression (x == y && a<b) is true If either x == y is true or… If you want to assign a value of 99 to the variable year, then which of… In a single Servlet class we can use____________