Core Java theorytheory 0/50 · 0%
OOP · easy

8. Methods

Defining behavior for objects.

Methods are blocks of code that perform actions. They can have parameters and return types.

Check your understanding

  1. 1. Keyword for no return value?

  2. 2. What is a parameter?