1.

Which of these methods is a rounding function of Math class?(a) Max()(b) Min()(c) Abs()(d) Round()I got this question in unit test.This interesting question is from Rounding Functions topic in division Reflections, Multithreaded Programming, Collection Classes and Mathematical Functions of C#

Answer» RIGHT choice is (d) Round()

EXPLANATION: Round() ROUNDS up a VARIABLE to NEAREST integer.


Discussion

No Comment Found

Related InterviewSolutions