Section outline

  • Welcome to Yellow Belt – Lesson 9: Methods + Overloading in the Jiu-Jitsu Java course. In this lesson, you will deepen your understanding of Java methods – how to define them, call them, and even give them multiple forms (overloading) for added flexibility. By the end, you’ll write cleaner, smarter code with these powerful techniques. Prepare to use these skills like a coding champion! πŸ₯‹πŸ’»

    • YB09_01: The Power of Methods – Why Use Them?

      Learning Goal: Understand what methods are in Java and why they are essential for writing reusable, organized code.

    • YB09_02: Defining a Method in Java

      Learning Goal: Learn how to declare (define) a method in Java, including specifying its return type, name, and parameters.

    • YB09_03: Calling Methods and Passing Arguments

      Learning Goal: Understand how to invoke (call) methods in Java and how arguments are passed into methods.

    • YB09_04: Return Values and void Methods

      Learning Goal: Learn how methods return values in Java, how to use the return statement, and understand what a void method is.

    • YB09_05: Method Overloading – Same Name, Different Parameters

      Learning Goal: Understand what method overloading is and how to create overloaded methods to handle different types or numbers of inputs.

    • YB09_06: Rules and Best Practices for Method Overloading

      Learning Goal: Learn the rules that govern method overloading in Java (what is allowed and what isn’t), and understand best practices to use overloading effectively without confusion.

    • YB09_07: Mastering Methods – Tips, Pitfalls, and Wrap-Up

      Learning Goal: Consolidate understanding of methods and overloading with best practice tips, and be aware of common mistakes to avoid as you apply these concepts.