323x Filetype PDF File size 0.91 MB Source: riptutorial.com
oop
#oop
Table of Contents
About 1
Chapter 1: Getting started with oop 2
Remarks 2
Examples 2
Introduction 2
OOP Introduction 2
Intoduction 2
OOP Terminology 3
Java 3
C++ 3
Python 3
Java 4
C++ 4
Python 4
Functions vs Methods 4
Using the state of a class 5
Interfaces and Inheritance 6
Abstract Class 7
Chapter 2: Abstraction 9
Examples 9
Abstraction - Introduction 9
Access Modifiers 9
Chapter 3: Class 11
Examples 11
Introduction 11
Chapter 4: Diamond problem 12
Examples 12
Diamond Problem - Example 12
Chapter 5: Encapsulation 13
Examples 13
Information hiding 13
Chapter 6: Inheritance 14
Remarks 14
Examples 14
Inheritance - Definition 14
Inheritance Example - Consider below two classes 15
Chapter 7: Object 17
Examples 17
Introduction 17
Chapter 8: Polymorphism 18
Examples 18
Introduction 18
Method Overloading 18
Method Overriding 19
Credits 21
About
You can share this PDF with anyone you feel could benefit from it, downloaded the latest version
from: oop
It is an unofficial and free oop ebook created for educational purposes. All the content is extracted
from Stack Overflow Documentation, which is written by many hardworking individuals at Stack
Overflow. It is neither affiliated with Stack Overflow nor official oop.
The content is released under Creative Commons BY-SA, and the list of contributors to each
chapter are provided in the credits section at the end of this book. Images may be copyright of
their respective owners unless otherwise specified. All trademarks and registered trademarks are
the property of their respective company owners.
Use the content presented in this book at your own risk; it is not guaranteed to be correct nor
accurate, please send your feedback and corrections to info@zzzprojects.com
https://riptutorial.com/ 1
no reviews yet
Please Login to review.