• Unit 6: User-Defined Methods

    In addition to the methods predefined in Java, we can write user-defined methods. In this unit, we will discuss how to name a method, declare a parameter list, and specify the return type. This unit introduces the scope of variables as well. By the end of this unit, you will have a strong understanding of how to define and call a method.

    Completing this unit should take you approximately 4 hours.

    • 6.1: Creating and Using Methods

    • 6.2: Overloaded Methods

    • Unit 6 Assessment