...

/

Return Parameters in Methods

Return Parameters in Methods

In this lesson, we will discuss return parameters in methods.

Return parameters

Return parameters are ones that the method will send back to the class from where it was called. To understand, let’s look at the diagram below which shows a function that changes a String value and returns the new modified String.

Access this course and 1400+ top-rated courses and projects.