What Is Object-Oriented Programming
This section describes what is Object-Oriented Programming.
is a programming paradigm based on the concept of "objects".
An object has two types of members:
- Properties (or Attributes, Fields, etc.)
- Represents data.
- Methods (or Functions, Procedures, etc.)
- Represents code, which can be executed to manipulate
properties in the object.
H language is a hybrid language that supports both
Procedural Programming paradigm
and Object-Oriented Programming paradigm
One of the design objective of H language is that
all data entities in H language are object properties,
and all functions are object methods.
Table of Contents
About This Book
Introduction of H Language
"boolean" Data Type
"integer" Data Type
"string" Data Type
"real" Data Type
"array" Data Type
Source Code Packages
Classes and Objects
►Object Oriented Programming
►What Is Object-Oriented Programming
Objects Are Created from Classes
Literal Is Special Form of Object Creation
Dot (.) Expression to Access Object Members
Update Object with Object Methods
Inheritance - Object Attachments
Encapsulation - Private Members
Full Version in PDF/ePUB