RUVIDEO
Поделитесь видео 🙏

CODESYS - Runtime polymorphism using inheritance (OOP)

Source code: https://github.com/ATandU?tab=repositories

- Explanation of compile and runtime polymorphism, the object interface and the object property you can fin in the previous video: https://youtu.be/dcSW0X4gM98
- We use a pointer to the base class to point to its child classes. Over the pointer we are invoking the correct method in the child class.
- Inheritance: The capability of a class to derive properties and characteristics from another class is called Inheritance. Inheritance is one of the most important feature of Object Oriented Programming and one of its pillars.
- The class that inherits properties from another class is called Sub class, Child Class or Derived Class.
- The class whose properties are inherited by Sub Class is called Base Class, Parent Class or Super class.
- In the public inheritance we have a special bond between the parent and the child class. The so called „is a” relationship because every thing that applies to the base class objects also applies to the child class objects, because every child class object is a base class object, but not the other way around. Not every base class is a derived class!
- When the implementation of all function cannot be provided in a base class because we don’t know it, we declare such a class as abstract. The class is a pure Interface and can’t be instantiated.
- A abstract method/property in the base class provides only an interface
- A method/property in the base class provides an interface and default implementation
- Access specifier define how the members (attributes and methods) of a class can be accessed.
- Public - members are accessible from outside the class (P_Arg_1 & 2)
- Private - members cannot be accessed (or viewed) from outside the class even in a child class
- Protected - members cannot be accessed from outside the class, however, they can be accessed in inherited classes (P_Res)

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «CODESYS - Runtime polymorphism using inheritance (OOP)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.