Object Oriented Programming (Course 1)
Class Methods
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

You were hired to create a Star Wars-themed game, and you've started with a class named Starship with two methods: powerUp() and fireWeapon(). You've instantiated an object of that class called $millenniumFalcon. How would you use these methods to power up the Starship and fire its weapons?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.