Computer Applications
Operations like square root, sine and cosine are
- impure functions
- pure functions
- static functions
- class functions
Java Math Lib Methods
7 Likes
Answer
pure functions
Reason — Operations like square root, sine and cosine are pure functions as they do not modify their arguments.
Answered By
5 Likes
Related Questions
Which of the following is/are jump statement used in Java?
- break
- continue
- return
- All of these
Class initialisation is the …………… initialisation of class fields of values.
- explicit
- implicit
- Both a and b
- None of the above
Given array int x[ ] = {11, 22, 33, 44}; the value of x[1 + 2] is :
- 11
- 22
- 33
- 44
A linear search
- can be used with sorted arrays only.
- can be used with unsorted arrays only.
- can be used with both sorted and unsorted arrays.
- cannot be used with arrays.