O'Reilly logo

Object-Oriented Programming with C++ by A.K. Sharma

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4

CLASSES AND OBJECTS

4.1 INTRODUCTION TO OBJECTS

We perceive the world around us through our senses. The senses recognize objects present around us. For instance, visible objects like human beings, buildings, cars, soil, earth, water, cloud, etc. are all perceived by eyes. The non-visible objects like air, sound, and smell are perceived through touch, ears, and nose respectively. Distant or abstract objects are generally perceived through spoken words of an expert. For instance, the structure of an atom or existence of BOSON, the God particle, can only be perceived through their description by experts. Thus, the world around us is composed of nothing but objects of varying descriptions as shown in Fig. 4.1.

Figure 4.1 Some of the objects ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required