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
CBSE BOARD X,
27 days ago
World Languages,
1 month ago
Social Sciences,
1 month ago
Computer Science,
8 months ago
Math,
8 months ago