Computer Science, asked by JoyitaPurkait, 8 months ago

Difference between pure and impure function in java

Answers

Answered by AniDio188
1

Answer:

In pure function it doesn't modify the external variable/data outside the scope and results the same output given in the same input. In impure function it mutates data/variable outside it's lexical scope 

HOPE THIS HELPS YOU..

MARK THE ANSWER AS THE BRAINLIEST ANSWER...

Similar questions