what is the return type of pure function in java?
Answers
Answered by
1
Answer:
A function is called pure function if it always returns the same result for same argument values and it has no side effects like modifying an argument (or global variable) or outputting something. The only result of calling a pure function is the return value. Examples of pure functions are strlen(), pow(), sqrt() etc.
Answered by
0
Explanation:
abey behenchod jyada apni gaad na marao
Similar questions
Social Sciences,
1 month ago
Math,
1 month ago
World Languages,
4 months ago
Social Sciences,
4 months ago
Computer Science,
11 months ago
Math,
11 months ago