A class is a template used to create objects. To define one the class keyword is used followed by a name, a code block and a semicolon. The naming convention for classes is mixed case, meaning that eachword should be initially capitalized.


Code Block Class Definition Object Pointer Naming Convention Arrow Operator 

Copyright information

© Mikael Olsson 2015

Authors and Affiliations

  • Mikael Olsson
    • 1
  1. 1.AlandFinland

Personalised recommendations