Advertisements
Advertisements
Question
What is a pure method?
One Line Answer
Solution
A method that returns a value but does not change the state of an object is known as pure method.
shaalaa.com
Is there an error in this question or solution?
What is a pure method?
A method that returns a value but does not change the state of an object is known as pure method.