Skip to Content
Learn
Ordering Your Library
Defining Our Method

First, we’ll need to define our alphabetize method.

Instructions

1.

Define alphabetize in the editor to the right. It shouldn’t take any arguments yet, and there doesn’t need to be anything in the body of the method.

Folder Icon

Take this course for free

Already have an account?