[4/13] Java Foundations Certification: Methods

Build a strong foundation of knowledge in Java programming! In this lesson we take a look at Methods and why they are one of the most important concept in the programming world!

In this free Java Foundations video, we will review another very important paradigm in the programming universe – Methods. We will find a few ways in which will make our code more organized and readable. Also, we are going to learn how to extend the functionality of our code.

Each of these topics is explained with many real-life examples and hands-on exercises. As always, we advise you to pause the video right before solving part of a problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video. 

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:


  • What is a Method?
  • Naming and Best Practices

Declaring and Invoking Methods

  • Void and Return type Methods

Methods with Parameters

  • Overview, Examples

Value vs Reference Types

  • What is the difference?

Overloading Methods

  • Example and Definition

Program Execution Flow

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

Leave a Comment

Recent Posts

About SoftUni

SoftUni provides high-quality education, profession and job to people who want to learn coding.

The SoftUni Global “Learn to Code” Community supports learners with free learning resources, mentorship and community help.