{"id":728,"date":"2020-07-11T13:55:11","date_gmt":"2020-07-11T09:55:11","guid":{"rendered":"https:\/\/praxit.am\/?page_id=728"},"modified":"2024-06-08T17:23:39","modified_gmt":"2024-06-08T13:23:39","slug":"oop","status":"publish","type":"page","link":"https:\/\/praxit.am\/en\/c-plus-plus\/oop\/","title":{"rendered":"C++ OOP"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"728\" class=\"elementor elementor-728\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4ec84b8a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4ec84b8a\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-5371ec3c\" data-id=\"5371ec3c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-40d786a3\" data-id=\"40d786a3\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bdf630f elementor-widget elementor-widget-heading\" data-id=\"bdf630f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Everything is an object. Objects communicate by sending and receiving messages.<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1ae9ef08 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"1ae9ef08\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2339687a elementor-widget elementor-widget-heading\" data-id=\"2339687a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">C++ OOP<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-96d513e\" data-id=\"96d513e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-597b38ca elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"597b38ca\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-592a7a24\" data-id=\"592a7a24\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-438087e8 elementor-widget elementor-widget-image\" data-id=\"438087e8\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"200\" height=\"154\" src=\"https:\/\/praxit.am\/wp-content\/uploads\/2018\/11\/quote-1.png\" class=\"attachment-large size-large wp-image-132\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-6423b03a\" data-id=\"6423b03a\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2acacb7 elementor-widget elementor-widget-text-editor\" data-id=\"2acacb7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>&#8220;One of the things I really like about programming languages is that it&#8217;s the perfect excuse to stick your nose into any field. So if you&#8217;re interested in high energy physics and the structure of the universe, being a programmer is one of the best ways to get in there. It&#8217;s probably easier than becoming a theoretical physicist&#8221;<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-49a3d6c9 elementor-widget elementor-widget-text-editor\" data-id=\"49a3d6c9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>&#8211; Bjarne Stroustrup<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-5320445e\" data-id=\"5320445e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3c2b993 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3c2b993\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c3b7a05\" data-id=\"c3b7a05\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fcfb100 elementor-widget elementor-widget-heading\" data-id=\"fcfb100\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">This course is for<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2caafa5 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"2caafa5\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e7b8c7b elementor-widget elementor-widget-text-editor\" data-id=\"e7b8c7b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<blockquote><p>In the preceding courses we introduced many basic terms and concepts of C++ object-oriented programming. <span style=\"font-size: 16px;\">In this course we take a deeper look at <strong>CLASSES.<\/strong> What are the 4 concepts of OOP: encapsulation, abstraction, inheritance, and polymorphism. We become familiar with dynamic memory, learn constant correctness of the programs while structural programming concentrates on developing functions, the OOP concentrates on developing objects.<\/span><\/p><\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5a1636a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5a1636a\" data-element_type=\"section\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-eaa3f74\" data-id=\"eaa3f74\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5d1d40a elementor-widget elementor-widget-heading\" data-id=\"5d1d40a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">lessons<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-10af414 elementor-widget elementor-widget-heading\" data-id=\"10af414\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Classes: A Deeper Look, Part 1<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-af583dc elementor-widget elementor-widget-heading\" data-id=\"af583dc\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Classes: A Deeper Look, Part 2\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7765059 elementor-widget elementor-widget-heading\" data-id=\"7765059\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Operator Overloading; String and Array Objects\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-469e5d3 elementor-widget elementor-widget-heading\" data-id=\"469e5d3\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Operator Overloading; String and Array Objects - Tips and QA\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1e88345 elementor-widget elementor-widget-heading\" data-id=\"1e88345\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Inheritance<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f443255 elementor-widget elementor-widget-heading\" data-id=\"f443255\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Inheritance - Tips and QA\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-596b836 elementor-widget elementor-widget-heading\" data-id=\"596b836\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Polymorphism<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fb9ce8a elementor-widget elementor-widget-heading\" data-id=\"fb9ce8a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Polymorphism - Tips and QA\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-1bcff1d\" data-id=\"1bcff1d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-51ec82e elementor-widget elementor-widget-html\" data-id=\"51ec82e\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<table>\r\n<tr>\r\n <td><h3 style=\"font-size:15px;\">DURATION<\/div><\/h3>\r\n <td><h3 style=\"font-size:15px;\">2 MONTH<\/h3><\/td>\r\n<\/tr>\r\n<tr>\r\n <td><h3 style=\"font-size:15px;\">PRICE<\/div><\/h3>\r\n <td><h3 style=\"font-size:15px;\">75000 AMD\/MONTH<\/h3><\/td>\r\n<\/tr>\r\n<tr>\r\n <td><h3 style=\"font-size:15px;\">DISCOUNTS<\/h3><\/td>\r\n <td><h3 style=\"font-size:15px;\">\r\n     \r\n     <ul>\r\n \t<li>A 10% discount is applied if two or more lump sum payments are made in advance for the services.<\/li>\r\n  \t<li>A student is provided with an additional 50% discount (from the original price) for excellent performance (90%) case for the next phase.<\/li>\r\n  \t<li>A student can receive a 10% referral discount for current or the next course phase (two months) if he was admitted to the study center through one of the students of the study center or a new student was admitted through him. <\/li>\r\n  \t<li>The student has the right to receive a 10% discount as a participant in the war regardless of academic progress. <\/li>\r\n  \t<li>The student has the right to receive a 10% discount as a resident of the region, if his study progress is at least 65% (for the next phase of the course). <\/li>\r\n  \t<li>The student can use 3 (three) discounts at the same time.  <\/li>\r\n  \t<li>If the student has informed late about the fact that he is a candidate for a discount, the discounts do not have retroactive effect and are not applied to the previous phases of the course.  <\/li>\r\n\r\n<\/ul>\r\n\r\n     \r\n <\/h3><\/td>\r\n<\/tr>\r\n<tr>\r\n <td><h3 style=\"font-size:15px;\">PREREQUESITES<\/h3><\/td>\r\n <td><h3 style=\"font-size:15px;\">\r\n     \r\n    <ul>\r\n   <li>C++ Basics Course or the knowledge described in the Objectives Section of C++ Basics Course<\/li>\r\n   <li>A 16+ aged person to sign the contract<\/ul>\r\n<\/ul>\r\n\r\n     \r\n <\/h3><\/td>\r\n<\/tr>\r\n<tr>\r\n <td><h3 style=\"font-size:15px;\">EFFORT<\/h3><\/td>\r\n <td><h3 style=\"font-size:15px;\">\r\n <ul>\r\n \t<li>20 hours\/week to solve homeworks<\/li>\r\n \t<li>Plus time to overcome English\/Math difficulties<\/li>\r\n \t<li>Attend the lessons<\/li>\r\n<\/ul>\r\n <\/h3><\/td>\r\n<\/tr>\r\n<\/table>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5dbabafb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5dbabafb\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-189ed0a4\" data-id=\"189ed0a4\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3d4732cd elementor-widget elementor-widget-heading\" data-id=\"3d4732cd\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">OBJECTIVES<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dc42262 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"dc42262\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-094961e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"094961e\" data-element_type=\"section\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c2f472f\" data-id=\"c2f472f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d9d79da elementor-widget elementor-widget-text-editor\" data-id=\"d9d79da\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h5>In this chapter you will learn:<\/h5>\n<div class=\"textwidget custom-html-widget\">\n<ul>\n \t<li>How to use a pre-processor wrapper to prevent multiple definition errors caused by including more than one copy of a header file in a source-code file<\/li>\n \t<li>To understand class scope and accessing class members via the name of an object, a reference to an object or a pointer to an object.<\/li>\n \t<li>To define constructors with default arguments.<\/li>\n \t<li>How destructors are used to perform &#8220;termination house keeping&#8221; on an object before it is destroyed.<\/li>\n \t<li>When constructors and destructors are called and the order in which they are called.<\/li>\n \t<li>The logic errors that may occur when a public member function of a class returns a reference to private data<\/li>\n \t<li>To assign the data members of one object to those of another object by default memberwise assignment<\/li>\n \t<li>To specify\n<div class=\"keyword\">const<\/div>\n(constant) objects and\n<div class=\"keyword\">const<\/div>\nmember functions<\/li>\n \t<li>To create objects composed of other objects<\/li>\n \t<li>To use\n<div class=\"keyword\">friend<\/div>\nfunctions and\n<div class=\"keyword\">friend<\/div>\nclasses<\/li>\n \t<li>To use the\n<div class=\"keyword\">this<\/div>\npointer<\/li>\n \t<li>To create and destroy objects dynamically with operators\n<div class=\"keyword\">new<\/div>\nand\n<div class=\"keyword\">delete<\/div>\n, respectively<\/li>\n \t<li>To use\n<div class=\"keyword\">static<\/div>\ndata members and member functions<\/li>\n \t<li>The concept of a container class<\/li>\n \t<li>The notion of iterator classes that walk through the elements of container classes<\/li>\n \t<li>To use proxy classes to hide implementation details from a class&#8217;s clients<\/li>\n \t<li>What operator overloading is and how it makes programs more readable and programming more convenient<\/li>\n \t<li>To redefine (overload) operators to work with objects of user-defined classes<\/li>\n \t<li>The differences between overloading unary and binary operators<\/li>\n \t<li>To convert objects from one class to another class<\/li>\n \t<li>When to, and when not to, overload operators<\/li>\n \t<li>To create PhoneNumber, Array, String and Date classes that demonstrate operator overloading<\/li>\n \t<li>To use overloaded operators and other member functions of standard library class\n<div class=\"keyword\">string<\/div><\/li>\n \t<li>To use keyword\n<div class=\"keyword\">explicit<\/div>\nto prevent the compiler from using single-argument constructors to perform implicit conversions<\/li>\n \t<li>To create classes by inheriting from existing classes<\/li>\n \t<li>How inheritance promotes software reuse<\/li>\n \t<li>The notions of base classes and derived classes and the relationships between them<\/li>\n \t<li>The\n<div class=\"keyword\">protected<\/div>\nmember access specifier<\/li>\n \t<li>The use of constructors and destructors in inheritance hierarchies<\/li>\n \t<li>The differences between\n<div class=\"keyword\">public<\/div>\n,\n<div class=\"keyword\">protected<\/div>\nand\n<div class=\"keyword\">private<\/div>\ninheritance<\/li>\n \t<li>The use of inheritance to customize existing software<\/li>\n \t<li>What polymorphism is, how it makes programming more convenient, and how it makes systems more extensible and maintainable<\/li>\n \t<li>To declare and use\n<div class=\"keyword\">virtual<\/div>\nfunctions to effect polymorphism<\/li>\n \t<li>The distinction between abstract and concrete classes<\/li>\n \t<li>To declare pure\n<div class=\"keyword\">virtual<\/div>\nfunctions to create abstract classes<\/li>\n \t<li>How to use run-time type information (RTTI) with downcasting,\n<div class=\"keyword\">dynamic_cast<\/div>\n,\n<div class=\"keyword\">typeid<\/div>\nand\n<div class=\"keyword\">type_info<\/div><\/li>\n \t<li>How C++ implements\n<div class=\"keyword\">virtual<\/div>\nfunctions and dynamic binding &#8220;under the hood&#8221;<\/li>\n \t<li>How to use\n<div class=\"keyword\">virtual<\/div>\ndestructors to ensure that all appropriate destructors run on an object<\/li>\n<\/ul>\n<\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8aee314 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8aee314\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-84e6b22\" data-id=\"84e6b22\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b715837 elementor-widget elementor-widget-heading\" data-id=\"b715837\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">HOMEWORKS<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5720ccc9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5720ccc9\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6e7a018d\" data-id=\"6e7a018d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-1150aae0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1150aae0\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-69426ce5\" data-id=\"69426ce5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-32c2e023 elementor-widget elementor-widget-wp-widget-custom_html\" data-id=\"32c2e023\" data-element_type=\"widget\" data-widget_type=\"wp-widget-custom_html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"textwidget custom-html-widget\"><table>\r\n<tr><th colspan='5'>Lesson 1<\/th><\/tr>\r\n<tr>\r\n <td>D 9.3<\/td>\r\n <td>D 9.4<\/td>\r\n <td>D 9.5<\/td>\r\n <td>D 9.6<\/td>\r\n <td>D 9.7<\/td>\r\n<\/tr>\r\n<tr>\r\n <td>D 9.8<\/td>\r\n <td>D 9.9<\/td>\r\n <td>D 9.10<\/td>\r\n <td>D 9.11<\/td>\r\n <td>D 9.12<\/td>\r\n<\/tr>\r\n<tr>\r\n <td>D 9.13<\/td>\r\n <td><div class='advanced'>D 9.14<\/div><\/td>\r\n <td>D 9.15<\/td>\r\n<\/tr>\r\n<\/table>\r\n<table>\r\n<tr><th colspan='5'>Lesson 2<\/th><\/tr>\r\n<tr>\r\n<tr>\r\n <td>D 10.3<\/td>\r\n <td>D 10.4<\/td>\r\n <td>D 10.5<\/td>\r\n <td>D 10.6<\/td>\r\n <td>D 10.7<\/td>\r\n<\/tr>\r\n<tr>\r\n <td>D 10.8<\/td>\r\n <td>D 10.9<\/td>\r\n <td>D 10.10<\/td>\r\n<\/tr>\r\n<\/table>\r\n<table>\r\n<tr><th colspan='5'>Lessons 3 and 4<\/th><\/tr>\r\n<tr>\r\n <td>D 11.6<\/td>\r\n <td>D 11.7<\/td>\r\n <td>D 11.8<\/td>\r\n <td>D 11.9<\/td>\r\n <td>D 11.10<\/td>\r\n<\/tr>\r\n<tr>\r\n <td>D 11.11<\/td>\r\n <td>D 11.12<\/td>\r\n <td>D 11.13<\/td>\r\n <td>D 11.14<\/td>\r\n <td>D 11.15<\/td>\r\n<\/tr>\r\n<tr>\r\n <td>D 11.16<\/td>\r\n <td>D 11.17<\/td>\r\n <td>D 11.18<\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-61890f06\" data-id=\"61890f06\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-381038a3 elementor-widget elementor-widget-wp-widget-custom_html\" data-id=\"381038a3\" data-element_type=\"widget\" data-widget_type=\"wp-widget-custom_html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"textwidget custom-html-widget\"><table>\r\n<tr><th colspan='5'>Lessons 5 and 6<\/th><\/tr>\r\n<tr>\r\n<tr>\r\n <td>D 12.3<\/td>\r\n <td>D 12.4<\/td>\r\n <td>D 12.5<\/td>\r\n <td>D 12.6<\/td>\r\n <td>D 12.7<\/td>\r\n<\/tr>\r\n<tr>\r\n <td>D 12.8<\/td>\r\n <td>D 12.9<\/td>\r\n <td>D 12.10<\/td>\r\n<\/tr>\r\n<\/table>\r\n<table>\r\n<tr><th colspan='5'>Lessons 7 and 8<\/th><\/tr>\r\n<tr>\r\n<tr>\r\n <td>D 13.3<\/td>\r\n <td>D 13.4<\/td>\r\n <td>D 13.5<\/td>\r\n <td>D 13.6<\/td>\r\n <td>D 13.7<\/td>\r\n<\/tr>\r\n<tr>\r\n <td>D 13.8<\/td>\r\n <td>D 13.9<\/td>\r\n <td>D 13.10<\/td>\r\n <td>D 13.11<\/td>\r\n <td>D 13.12<\/td>\r\n<\/tr>\r\n<tr>\r\n <td>D 13.13<\/td>\r\n <td>D 13.14<\/td>\r\n <td>D 13.15<\/td>\r\n <td>D 13.16<\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1b8006 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1b8006\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-317257ea\" data-id=\"317257ea\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-70078cab elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"70078cab\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6bc8192b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6bc8192b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-145c5717\" data-id=\"145c5717\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4e26644c elementor-widget elementor-widget-wp-widget-custom_html\" data-id=\"4e26644c\" data-element_type=\"widget\" data-widget_type=\"wp-widget-custom_html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"textwidget custom-html-widget\"><div class='mandatory'><ul><li>These are the home works that are very hard to solve and\/or we will practice on them in \"Advanced C++\" course.<\/li><\/ul><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1d86bd38 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1d86bd38\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a050ea9\" data-id=\"a050ea9\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-dd49b6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"dd49b6\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-50db1e01\" data-id=\"50db1e01\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-13c87844 elementor-widget elementor-widget-heading\" data-id=\"13c87844\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-large\">Upcoming C++ OOP Course<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-555e03b6 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"555e03b6\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5ec795c elementor-widget elementor-widget-image\" data-id=\"5ec795c\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/praxit.am\/c-plus-plus-oop\/\">\n\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/praxit.am\/wp-content\/uploads\/elementor\/thumbs\/4-1-osls13fobw7neb0ppohkixw8avonsrhszmvdbn5vu2.jpg\" title=\"4\" alt=\"4\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-23411e5a elementor-widget elementor-widget-text-editor\" data-id=\"23411e5a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: left;\">The upcoming C++ OOP course will begin on January 28, 2023.<\/p><p style=\"text-align: left;\">Hurry to join!<\/p><h6 style=\"text-align: left;\"><i style=\"font-weight: normal; color: #259a15;\">4 students are already enrolled.<\/i><\/h6>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-714fd3e8 elementor-align-left elementor-mobile-align-center elementor-widget elementor-widget-button\" data-id=\"714fd3e8\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"#\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Learn More<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-448fb280\" data-id=\"448fb280\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-187db035\" data-id=\"187db035\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Everything is an object. Objects communicate by sending and receiving messages. C++ OOP &#8220;One of the things I really like about programming languages is that it&#8217;s the perfect excuse to stick your nose into any field. So if you&#8217;re interested in high energy physics and the structure of the universe, being a programmer is one [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1282,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-728","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/pages\/728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/comments?post=728"}],"version-history":[{"count":83,"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/pages\/728\/revisions"}],"predecessor-version":[{"id":2855,"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/pages\/728\/revisions\/2855"}],"up":[{"embeddable":true,"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/pages\/1282"}],"wp:attachment":[{"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/media?parent=728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}