Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Virtual Computer

Instantiation Nation

Excellent! Last step: let's create an instance of our Computer class.

You've done this before, but here's a refresher.

class Person def initialize(name) @name = name end end emma = Person.new("emma")
  1. In the example above, we first define a Person class with an initialize method.
  2. Then, we create a new instance of Person and store it in a new variable called emma.
Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.