Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Foundations of Functions

via CodeSignal

Overview

This course will help you revise the essential concepts of functions in Java, including overloading, polymorphism, and recursion. You will revisit the basics, explore advanced recursion techniques, and master methods essential for effective function usage within your programs.

Syllabus

  • Lesson 1: Function Fundamentals Revision
    • Understanding Java Functions
    • Changing Return Types
    • Type Mistmatch Errors
    • Instance to Static
    • Enhancing Rectangle Calculations
  • Lesson 2: Overloading and Default Parameters
    • Function Overloading in Action
    • Method Overloading and Type Widening
    • Fix Overloaded Calculate Method
    • Overload Methods in Java
    • Master Function Overloading in Java
  • Lesson 3: Understanding Recursive Functions
    • Understanding Recursive Factorial Calculation
    • Converting Iterative Function to Recursive
    • Fix Recursive Countdown
    • Complete the Recursive Function
    • Mastering Recursion in Java
  • Lesson 4: Type Flexibility with Generic Functions
    • Generics in Action with Functions
    • Generics for Numerical Averages
    • Fix the Type Bounds Bug
    • Reversing Generic Arrays
    • Generic Method for Shape Area Calculation

Reviews

Start your review of Foundations of Functions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.