0 votes
in Scala Constructs by

Can the following pseudo function be considered a pure function ?

function getMeTimeAdded(arg Integer) = currentTime + Integer

a) Yes
b) No
c) Maybe

1 Answer

0 votes
by

b) No, This cannot be considered as Pure Function

...