You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the new article: From Basic to Intermediate: Classes (I).
As the title suggests, in this section we will explore classes—one of the fundamental concepts of object-oriented programming. In this initial overview, we will consider only what is necessary for understanding the following articles. For now, we will not go into detail on all aspects of classes, since some of them have already been covered in the articles on structured programming. Please refer to previous articles for more detailed information.
Nevertheless, we need to thoroughly explain some of the features and capabilities of classes. This is the only way you will be able to understand why the code we will analyze next works and how to use it. The goal is for you to be able to follow along with as little explanation as possible on my part, since over time I will be commenting less and less on specific details.
Let's start with the basics: to understand classes, we first need to understand another concept explained in previous articles—the concept of a structure.
Author: CODE X