Define the fields and methods of a class using a class.
Make sure you are familiar with the terminology in Classes and Object-Oriented Programming.Complete the following steps to create a class.
Option | Description |
---|---|
for data member access | Create an interface that other parts of your program can use to read or write to a class field. |
from dynamic dispatch template | Create a version of a method specific to the class. The program chooses the version of the method to execute at run time based on the object the method input accepts. |
from static dispatch template | Create a method that has the same functionality for all class objects it accepts. |
Override | Create a method that overrides a method on the Member List of a parent class in your project. |
Blank | Create an empty method for the class. |
Class Property | Create a property that can use methods you create to access fields on the Data view. |