Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Latest commit

 

History

History
28 lines (17 loc) · 882 Bytes

objects.md

File metadata and controls

28 lines (17 loc) · 882 Bytes

Objects

The Concept

An object is an instance of a class.

What to cover

  • How to create an object. The syntax to create a new instance of a class.
  • How to call members on an object. How to use fields/methods on a class instance.

Exercises

Remote Control Car

This exercise models a remote control car that keeps track of the distance it has driven and its battery charge percentage. The reference implementation (C#) teaches:

  • Creating an instance of a class.
  • Using fields and methods on an instance.

Implementations

Track Exercise Changes
C# elons-toys None