У нас вы можете посмотреть бесплатно CPP001 : C++ Interview - Part 1 | What is C++ ? | Object Oriented Programming | OOPS Concept или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
This is the first part of this C++ interview series, and here we are going to start with very basic concept of C++, but these are very important as well. C++ is a cross-platform language that can be used to create high-performance applications. C++ was developed by Bjarne Stroustrup, as an extension to the C language. C++ gives programmers a high level of control over system resources and memory. Object-oriented programming (OOP) is a computer programming model that organizes software design around data, or objects, rather than functions and logic. An object can be defined as a data field that has unique attributes and behavior. Encapsulation - The meaning of Encapsulation, is to make sure that "sensitive" data is hidden from users. To achieve this, you must declare class variables/attributes as private (cannot be accessed from outside the class). If you want others to read or modify the value of a private member, you can provide public get and set methods. Abstraction or Data Hiding - Abstraction is the process of only showing the necessary details to the user and hiding the other details in the background. Control and data are the two types of abstraction in C++. Abstraction in C++ is achieved through classes, header files, and access specifiers (public, private, protected). Inheritance - The capability of a class to derive properties and characteristics from another class is called Inheritance. Inheritance is one of the most important features of Object-Oriented Programming. Inheritance is a feature or a process in which, new classes are created from the existing classes. The new class created is called “derived class” or “child class” and the existing class is known as the “base class” or “parent class”. The derived class now is said to be inherited from the base class. When we say derived class inherits the base class, it means, the derived class inherits all the properties of the base class, without changing the properties of base class and may add new features to its own. These new features in the derived class will not affect the base class. The derived class is the specialized class for the base class. Sub Class: The class that inherits properties from another class is called Subclass or Derived Class. Super Class: The class whose properties are inherited by a subclass is called Base Class or Superclass. The word “polymorphism” means having many forms. In simple words, we can define polymorphism as the ability of a message to be displayed in more than one form. A real-life example of polymorphism is a person who at the same time can have different characteristics. A man at the same time is a father, a husband, and an employee. So the same person exhibits different behavior in different situations. This is called polymorphism. Polymorphism is considered one of the important features of Object-Oriented Programming. Types of Polymorphism Compile-time Polymorphism Runtime Polymorphism #cplusplus #interviewquestions #interview #objectorientedprogramming ================ content of this video ================ 0:00 What is C++ programming? 0:55 What is Object Oriented Programming Language? 2:20 Is C++ a pure object oriented Programming Language? 4:03 class & object 5:30 Feature of OOP 6:33 What is Encapsulation ? 9:25 What is Abstraction or Data Hiding ? 10:50 What is Inheritance ? 12:00 What is Polymorphism ?