{"id":1684,"date":"2023-01-11T18:27:53","date_gmt":"2023-01-11T14:27:53","guid":{"rendered":"https:\/\/praxit.am\/?page_id=1684"},"modified":"2023-02-24T00:46:21","modified_gmt":"2023-02-23T20:46:21","slug":"oop","status":"publish","type":"page","link":"https:\/\/praxit.am\/en\/javascript\/oop\/","title":{"rendered":"JavasScript OOP"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1684\" class=\"elementor elementor-1684\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-660ffc2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"660ffc2\" 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-baaa40b\" data-id=\"baaa40b\" 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-b03602d\" data-id=\"b03602d\" 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-ca7bf38 elementor-widget elementor-widget-heading\" data-id=\"ca7bf38\" 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-ae3f05a elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"ae3f05a\" 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-851c51c elementor-widget elementor-widget-heading\" data-id=\"851c51c\" 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\">Javascript 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-8f38214\" data-id=\"8f38214\" 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-6e21b7e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6e21b7e\" 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-865a6ff\" data-id=\"865a6ff\" 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-d0771c7 elementor-widget elementor-widget-image\" data-id=\"d0771c7\" 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-224a6ee\" data-id=\"224a6ee\" 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-1cdd23d elementor-widget elementor-widget-text-editor\" data-id=\"1cdd23d\" 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-0442767 elementor-widget elementor-widget-text-editor\" data-id=\"0442767\" 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-79fd22c\" data-id=\"79fd22c\" 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-5626240 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5626240\" 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-491ab66\" data-id=\"491ab66\" 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-9ac1f30 elementor-widget elementor-widget-heading\" data-id=\"9ac1f30\" 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-f587b64 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"f587b64\" 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-4431465 elementor-widget elementor-widget-text-editor\" data-id=\"4431465\" 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-2cdca9c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2cdca9c\" 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-23d6110\" data-id=\"23d6110\" 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-705e4ef elementor-widget elementor-widget-heading\" data-id=\"705e4ef\" 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-08aeb4b elementor-widget elementor-widget-heading\" data-id=\"08aeb4b\" 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-efdb2f2 elementor-widget elementor-widget-heading\" data-id=\"efdb2f2\" 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-fa96e03 elementor-widget elementor-widget-heading\" data-id=\"fa96e03\" 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-f5df9bc elementor-widget elementor-widget-heading\" data-id=\"f5df9bc\" 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-d0b781b elementor-widget elementor-widget-heading\" data-id=\"d0b781b\" 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-57e6e4e elementor-widget elementor-widget-heading\" data-id=\"57e6e4e\" 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-a805525 elementor-widget elementor-widget-heading\" data-id=\"a805525\" 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-315c239 elementor-widget elementor-widget-heading\" data-id=\"315c239\" 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-50d7bf9\" data-id=\"50d7bf9\" 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-01c684c elementor-widget elementor-widget-html\" data-id=\"01c684c\" 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-0b5343c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0b5343c\" 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-7c853c2\" data-id=\"7c853c2\" 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-148c5e6 elementor-widget elementor-widget-heading\" data-id=\"148c5e6\" 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-3f71b4a elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"3f71b4a\" 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-d8701b1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d8701b1\" 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-6ffbcdb\" data-id=\"6ffbcdb\" 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-6fc161b elementor-widget elementor-widget-text-editor\" data-id=\"6fc161b\" 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-3d50243 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3d50243\" 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-37c6668\" data-id=\"37c6668\" 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-728758f elementor-widget elementor-widget-heading\" data-id=\"728758f\" 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-0d064c6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0d064c6\" 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-f7d3f96\" data-id=\"f7d3f96\" 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-d553be5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d553be5\" 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-d2e9e7e\" data-id=\"d2e9e7e\" 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-4f44b49 elementor-widget elementor-widget-wp-widget-custom_html\" data-id=\"4f44b49\" 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-36ef795\" data-id=\"36ef795\" 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-96b653d elementor-widget elementor-widget-wp-widget-custom_html\" data-id=\"96b653d\" 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-c4ef135 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c4ef135\" 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-f93af38\" data-id=\"f93af38\" 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-cfddabe elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"cfddabe\" 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-6e04654 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6e04654\" 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-c14acf5\" data-id=\"c14acf5\" 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-f8b6b2a elementor-widget elementor-widget-wp-widget-custom_html\" data-id=\"f8b6b2a\" 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-391a728 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"391a728\" 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-a6b6363\" data-id=\"a6b6363\" 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-1f1af90 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1f1af90\" 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-ae02b42\" data-id=\"ae02b42\" 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-c2ad34e elementor-widget elementor-widget-heading\" data-id=\"c2ad34e\" 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 Javascript 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-c9577d4 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"c9577d4\" 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-d68511b elementor-widget elementor-widget-image\" data-id=\"d68511b\" 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-3f9d1c4 elementor-widget elementor-widget-text-editor\" data-id=\"3f9d1c4\" 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 JavaScript OOP course will begin on February, 2023.<\/p><p style=\"text-align: left;\">Hurry to join!<\/p><h6 style=\"text-align: left;\"><i style=\"font-weight: normal; color: #259a15;\">0 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-fcb0662 elementor-align-left elementor-mobile-align-center elementor-widget elementor-widget-button\" data-id=\"fcb0662\" 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-12bdc7a\" data-id=\"12bdc7a\" 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-0e41cfc\" data-id=\"0e41cfc\" 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. Javascript 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":1677,"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-1684","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/pages\/1684","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=1684"}],"version-history":[{"count":12,"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/pages\/1684\/revisions"}],"predecessor-version":[{"id":3255,"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/pages\/1684\/revisions\/3255"}],"up":[{"embeddable":true,"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/pages\/1677"}],"wp:attachment":[{"href":"https:\/\/praxit.am\/en\/wp-json\/wp\/v2\/media?parent=1684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}