The methods which return the values back to the calling code are called as
-
Constructors
-
Interrogative methods
-
Imperative methods
B
Correct answer
Explanation
Methods that return values to calling code are called interrogative methods because they 'ask a question' and return an answer. Imperative methods change object state or perform actions and typically return void. Constructors initialize new objects and aren't primarily for returning values.