O'Reilly logo

Object-oriented Programming Using C++ and Java by Anand Vasappanavara, Gautam Vasappanavara, Ramesh Vasappanavara

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

2

Object Modelling

LEARNING OBJECTIVES

At the end of this chapter, you should be able to

  • Understand object modelling.

  • Use notations of UML to specify objects and classes, their notations, meta models and concepts like mandatory profiles, meta data, meta classes, etc.

  • Learn to use class diagrams and object diagrams of UML.

  • Understand the concept of links and hierarchy, polymorphism and abstract classes in OOPS language.

2.1 Introduction

Object modelling encompasses all the elements that we studied in Chapter 1 regarding objectoriented (OO) methodology. The principles of object modelling are abstraction, encapsulation, modularity, hierarchy, typing, concurrency and persistence.

In conventional programming styles, we conceive the problem and ...

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