1.

Which of these classes contains only floating point functions?(a) Math(b) Process(c) System(d) ObjectI got this question in a national level competition.Origin of the question is Maths Class topic in section Reflections, Multithreaded Programming, Collection Classes and Mathematical Functions of C#

Answer»

The CORRECT answer is (a) Math

Explanation: Math CLASS contains all the floating point functions that are used for geometry, trigonometry, as well as several general purpose methods. EXAMPLE : sin(), cos(), EXP(), sqrt() etc.



Discussion

No Comment Found

Related InterviewSolutions