• 20 hours
  • Medium

Free online content available in this course.

course.header.alt.is_video

course.header.alt.is_certifying

Got it!

Last updated on 5/25/20

Apply an Object-Oriented approach

Log in or subscribe for free to enjoy all this course has to offer!

Evaluated skills

  • Implement the essential components of a class
  • Question 1

    Select the correct class declaration:

    • class MyClass =

       

    • class MyClass {
      }

       

    • class myClass {
      }
    • var a: MyClass =
  • Question 2

    What is a class?

    Careful, there are several correct answers.
    • A class is a named type

    • A variable

    • A function

    • A blue print

  • Question 3

    What is an instance?

    • A an alternative name for a class

    • A concrete representation of a class

       

    • Block of code

    • A function