All Data Are Created from Classes

This section describes H language data - created from classes.

All data are created from classes.

This is because all data structures are defined by classes and all data are structured data. For example,

# calling "integer" class to create an object with value of 1 
one = integer(1); 

#( calling "string" class to create an object with a sequence 
   of characters )#
hello = string("Hello!");

# calling "array" class to create an object with data elements
list = array("Apple", 3, "Orange", 5);

Table of Contents

 About This Book

 Introduction of H Language

 Syntax

Data Types

 All Data Are Structured Objects

All Data Are Created from Classes

 Data Literals Are Alias of Object Constructions

 Commonly Used Data Types Are Built-in Data Types

 All Data Types Are Extensions of "object"

 Variables

 Expressions

 Statements

 "boolean" Data Type

 "integer" Data Type

 "string" Data Type

 "real" Data Type

 "array" Data Type

 Source Code Packages

 Classes and Objects

 Object Oriented Programming

 Inheritance - Object Attachments

 Encapsulation - Private Members

 References

 Full Version in PDF/ePUB