What is Math.rint(3.5)?
a. 3.0
b. 3
c. 4
d. 4.0
e. 5.0
d rint returns the nearest even integer as a double since 3.5 is equally close to 3.0 and 4.0.
Computer Science & Information Technology
You might also like to view...
MC The______ statement causes the __str__ method to be invoked.
a) print "object". b) print objectOfClass. c) objectOfClass.print(). d) None of the above.
Computer Science & Information Technology
What are the set of attributes of an object's instance variable known as?
A. The object's relationship. B. The object's state. C. The object's class instantiation. D. The object's fields.
Computer Science & Information Technology