Object-Oriented Programming notes
34 notes by 30 users
This page gathers object-oriented programming notes on classes, inheritance and examples in languages including Java, JavaScript and Python. Its more than 20 notes are mostly university level, with some school-level material. University students and professional candidates can use them to review concepts and code, while teachers can find ready-made material. Choose a note to start exploring.
Notes
-
OOPs
-
Object Oriented Programming Concepts OBJECT ORIENTED PROGRAMMING CONCEPTS Object Oriented Programming (OOP) is at the core of Java. It is an approach that provides a way for modularizing programs by creating partitioned memory area for both data and func...
-
Object Oriented Programming Concepts OBJECT ORIENTED PROGRAMMING CONCEPTS Object Oriented Programming (OOP) is at the core of Java. It is an approach that provides a way for modularizing programs by creating partitioned memory area for both data and func...
-
OOPs 1. What is OOPS? OOPS is a Object Oriented Programming system in which programs are considered as a collection of objects. Each object is nothing but an instance of a class. 2. Write basic conce...
-
Object Oriented Programming OOPS is a programming model that allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects.ObjectAn object is a real world entity having attribu...
-
Javascript Lecture Notes Objects in javascript Objects in javascript are really different from other programming languages. Simple types in javascript are number,string,boolean, null and undefined all other values are object.Even arrays...
-
Advantages of OOP Advantages and Disadvantages of Object-Oriented Programming (OOP)This reading discusses advantages and disadvantages of object-oriented programming,which is a well-adopted programming style that uses interacting objec...
-
Python OOPS Concepts Class − A user-defined prototype for an object that defines a set of attributes that characterize any object of the class. The attributes are data members (class variables and instance variables) an...
-
Implementing Classes - created from Mind Map Superclass(parent) versus subclass(child) Variables Encapsulation
-
Interfaces CONCRETE AND ABSTRACT CLASSES Concrete Classes A concrete class is just a normal class which can contain fields, properties, and methods. With normal classes, we can create objects to be used for various means. Abstra...
-
Object Orientated Language Object-Orientated Programming Object Orientated programming allows a program to solve problems by programming objects hat interact with each other. Classes are made to create objects which contain methods and attribut...
-
Superclass Example 2
-
Subclass Example
-
OOPS
-
Programs
-
AbAP Class A subclass may only have one direct superclass. A reliable test to see if there is a genuine inheritance relationship between two classes is to try to say "a subclass is a superclass" The superclass may have any numbe...
-
Untitled Note: Be careful about the difference between an empty string, and a null reference. An empty string is an object that contains no characters, and so has length 0. A null reference means there is no object present. (R...
-
Untitled
-
Superclass Example 1
-
object oriented programming with java Object = programming building block, a component with some desired functionalityYou ask objects to do some workYou don't know how they do itIt's what they do not how they do it ISO 8604 = international standard for da...
-
Virtual, Friend and Static Function What is Virtual Function? How can you access this function using pointer? Explain with example.Virtual means existing in appearance but not in reality. Polymorphism refers to the property by which objects belonging ar...
-
Untitled CHAPTER 3 An object has two capabilities - Stores data - Objects are formed from attributes and methods. ...
-
Untitled ClassesRepresent all objects of a kind (example: “a car”, “ a monster”)Objects( instance) Represent specific items from the real world, or from some problem domain (example: “the red car out there in the parking lot”)...
-
java What is not possible using java class Inheritance? 1. Private members of the superclass are not inherited by the subclass and can only be indirectly accessed. 2. Members that have default accessibility in the supercla...
-
What does inheritance do? Inheritance allows subclasses to be created from superclasses. The subclass then "absorbs" the behaviors of the superclass It allows code to be reused without retyping it in the subclass, which saves a lot of space an...
-
EncapsulateData - creado desde un Mapa Mental Visibility Inmutability Methods types
-
Programming with C++
-
Abstract Class Example
-
Inheritance C++ Single Inheritance Block Diagram http://www.trytoprogram.com/images/single-inheritance.jpg As shown in the figure, in C++ single inheritance only one class can be derived from the base class. Based on th...
-
Week 3
-
OOP - created from Mind Map Class A blueprint from which objects are created through instantiation Encapsulation
-
Writing a equals() method
-
python oops Notes A class is a code template for creating objects. objects:-Object: An object is an instance of a class. It is a collection of attributes (variables) and methods. We use the object of a class to perform actions &nb...
-
Object Oriented Programming - created from Mind Map EncapsulationA process of binding the data members and member functions into a single unit Polymorphism Inheritance
More Object-Oriented Programming resources
About object-oriented programming notes
GoConqr OriginalWhat these object-oriented programming notes cover
The notes range from introductions to specific code examples. Object Oriented Programming Concepts introduces the approach in Java, while Object Orientated Language discusses classes, objects, methods and attributes. Advantages of OOP considers advantages and disadvantages.
For language-specific reading, Javascript Lecture Notes discusses objects in JavaScript, and Python covers concepts including classes and attributes. The notes also include examples of superclasses and subclasses.
How to use the notes
Start with a concepts note if you want an overview, then read an example alongside it to see how classes are written. Summarise the ideas in your own words and return to the example to check your understanding.
When you want to test your recall, switch to a quiz on the unit page. Flashcards can help you revisit terms between reading sessions. Open a note that matches the topic you are studying.
Frequently asked questions
Which note is a useful starting point?
Object Oriented Programming Concepts is a starting point for reviewing the approach in Java. Object Orientated Language is another option if you want to read about classes, objects, methods and attributes. After that, you can compare the superclass and subclass examples on the page.
Do the notes cover particular programming languages?
Yes. Javascript Lecture Notes discusses objects in JavaScript, while Python covers concepts including classes and attributes. The page also lists Java-related material, including Object Oriented Programming Concepts and examples of classes. You can choose the note closest to the language you are studying.
Are these notes free to use?
Yes. Every note listed here is free to open and study without an account. The resources were made by GoConqr users. A free account also lets you create your own notes, quizzes, mind maps and flashcards, and save your quiz scores.