OOP THEORY NOTES

In this section we have compiled all the available best resource for object oriented programming theory part.

But before we move forward i recommend you practisng on

HACKEREARTH OR CODECHEF

UNIT-1 CLASSES AND OBJECTS

Syllabus- Need of Object-Oriented Programming (OOP), Object-Oriented Programming Paradigm, Basic Concepts of Object-Oriented Programming, Benefits of OOP, C++ as object-oriented programming language. C++ Programming- C++ programming Basics, Data Types, Structures, Enumerations, control structures, Arrays and Strings, Class, Object, class and data abstraction, class scope and accessing class members, separating interface from implementation, controlling access to members. Functions- Function, function prototype, accessing function and utility function, Constructors and destructors, Copy Constructor, Objects and Memory requirements, Static Class members, data abstraction and information hiding, inline function.

GURU99 have explained in short with best examples so that any person who is slow to adapt can also grasp the concepts quickly.

GEEKSFORGEEKS, Geeks for geeks has clearly listed and explained each topic for the

w3schools, if you want in-depth knowledge read this.

Unit II -Polymorphism and Inheritance

Operator Overloading- concept of overloading, operator overloading, Overloading Unary Operators, Overloading Binary Operators, Data Conversion, Type casting (implicit and explicit), Pitfalls of Operator Overloading and Conversion, Keywords explicit and mutable. Inheritance- Base Class and derived Class, protected members, relationship between base Class and derived Class, Constructor and destructor in Derived Class, Overriding Member Functions, Class Hierarchies, Inheritance, Public and Private Inheritance, Levels of Inheritance, Multiple Inheritance, Ambiguity in Multiple Inheritance, Aggregation, Classes Within Classes. Polymorphism- concept, relationship among objects in inheritance hierarchy, abstract classes, polymorphism.

BEGINNERSBOOK, have good explanations of each keywords and topics

CSHARP A short summarization form

Unit III Virtual Functions

Virtual Functions- Pointers- indirection Operators, Memory Management: new and delete, Pointers to Objects, A Linked List Example, accessing Arrays using pointers, Function pointers, Pointers to Pointers, A Parsing Example, Debugging Pointers, Dynamic Pointers, smart pointers, shared pointers, Case Study : Design of Horse Race Simulation. Virtual Function- Friend Functions, Static Functions, Assignment and Copy Initialization, this Pointer, virtual function, dynamic binding, Virtual destructor.

JAVAPOINT clear definitions with good examples and real codes.

GEEKSFORGEEKS ADVANCED->A B has explained many topics inside it surely good for learning.

Unit IV Templates and Exception Handling

Templates- function templates, Function overloading, overloading Function templates, class templates, class template and Nontype parameters, template and inheritance, template and friends Generic Functions, Applying Generic Function, Generic Classes, The typename and export keywords, The Power of Templates. Exception Handling- Fundamentals, other error handling techniques, simple exception handlingDivide by Zero, rethrowing an exception, exception specifications, processing unexpected exceptions, stack unwinding, constructor, destructor and exception handling, exception and inheritance.

Templates

TUTORIALSPOINT have explained about function and class template with examples

GEEKSFORGEEK have explained definitions, working and usage. with examples.

Exception Handling

TUTORIALSPOINT basic short simple definitions with examples

GEEKSFORGEEKS explains its basic structure usage needs with examples.

Unit VI Standard Template Library (STL)

Introduction to STL, Containers, algorithms and iterators, Containers- Sequence container and associative containers, container adapters, Algorithms- basic searching and sorting algorithms, min-max algorithm, set operations, heap sort, Iterators- input, output, forward, bidirectional and random access. Object-Oriented Programming – a road map to future

STUDYTONIGHT, have the best content for STL because no one like them have made it all under one place