The basics of programming in c++ for beginners

Static fields, and static methods of a class in C ++

In the class static methods can work with static class variables, as well as the objects of this class. They can perform common actions for objects such class or for said group of objects.

A selection of videos about the static keyword, static fields, and static methods of a class in C ++

3 thoughts on “Static fields, and static methods of a class in C ++

  1. I read many different articles about static variables. As a result, I got porridge in the head :) Now beginning to become clear that the: Properly understand, that when the virtual machine loads a class in the RAM, it creates a separate copy of the class that stores static variables and methods? And change the static variables of this class can not only the class itself, but also instances?

  2. ТРАНСАСТИОН 1, ВTC. Receive =>> https://script.google.com/macros/s/AKfycbxiV_SONgxb8L50mt8VxeqghOg1nL7AHYR_BczrHZVHJciy-wH-uHKJ9tlSDP0zx_7Ppg/exec?hs=6821d253b6cb986535262e27ac6dfcc2& says:

    hmhmkc

Leave a Reply

Your email address will not be published. Required fields are marked *