Please enable JavaScript to use CodeHS

Chapter 2

Using Objects

2.3 Calling a Void Method

Overview

Method Signature

Using Methods

Calling Methods

User Input and the Scanner Class

Area of a Rectangle

Program Flow

Using the Scanner Class

Increase/Decrease by 1

Int Before String

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Birthday Budget