A method which does not modify the value of variables is termed as:
Pure method
Reason — A method which does not modify the value of variables is termed as a pure method.