munotes® Sign in

Object Oriented Programming using C++ Notes | B.Sc. (Information Technology) Semester 2 | Mumbai University | munotes

MU B.Sc. (Information Technology) student group Free to join

A munotes Edition munotes.in

Object Oriented Programming using C++

B.SC. (INFORMATION TECHNOLOGY) · SEMESTER 2

Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Information Technology)

For B.Sc. (Information Technology) students of the University of Mumbai and all its affiliated colleges

Open the book ↓

munotes.in First Year

Contents

Module I Object Oriented Methodology, Classes and Objects, Constructors and Destructors, Inheritance

  1. Procedure Oriented and Object Oriented Programming 1
  2. The Principles of OOP: Objects, Classes, Data Abstraction and Data Encapsulation 8
  3. The Principles of OOP: Inheritance, Polymorphism, Dynamic Binding and Message Passing 15
  4. From C to C++: A First Program, cin, cout, Decisions and Loops 23
  5. Simple Classes: Specifying a Class and Accessing Its Members 35
  6. Defining Member Functions, Inside and Outside the Class 42
  7. Passing Objects as Arguments and Returning Objects from Functions 49
  8. Friend Functions and Friend Classes 57
  9. Static Data Members and Static Member Functions 65
  10. Constructors: the Default Constructor and the Parameterized Constructor 72
  11. Destructors, and When Objects Are Made and Destroyed 80
  12. Inheritance: Base and Derived Classes, and What Inheritance Gives You 87
  13. Choosing the Access Specifier: public, protected and private Inheritance 94
  14. Derived Class Constructors 101
  15. Class Hierarchies: Multilevel and Hierarchical Inheritance 108
  16. Multiple Inheritance and Hybrid Inheritance 115

Module II Polymorphism, Virtual Functions, Exception Handling, Working with Files

  1. Function Overloading 122
  2. Operator Overloading: The Idea and the Rules 129
  3. Overloading Unary Operators 136
  4. Overloading Binary Operators 143
  5. Overloading new and delete for a Class 150
  6. Virtual Functions: Why They Are Needed, and Method Overriding 157
  7. The this Pointer 164
  8. Pure Virtual Functions and Abstract Classes 171
  9. Virtual Destructors 178
  10. Exception Handling: Introduction and the Mechanism 185
  11. throw and catch, with Examples 192
  12. Working with Files: File Streams and Opening a File 200
  13. File Operations: Writing, Reading and Appending 207
  14. File Modes 214
  15. File Pointers and Their Manipulation 222
  16. Generic Programming: Function Templates and Class Templates 229
munotes.in

The chapters are locked

Get the notes to read all 32 chapters of this book.

The rest of this subject

These notes are cut from the University's printed syllabus. Open the syllabus itself, or the past papers, for the same subject.

Issue
Done!