Computer Science, asked by qwerty3912, 1 month ago

what is the return type of pure function in java?​

Answers

Answered by SnehaKesharwani
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 AnshikaGuptaorg
0

Explanation:

abey behenchod jyada apni gaad na marao

Similar questions