Journal of Engineering and Sustainable Development (Jul 2017)

CONSTRUCTORS AND DESTRUCTUR IN OBJECT ORIENTED PROGRAMMING

  • Nadia Moqbel Hassan

Journal volume & issue
Vol. 21, no. 4

Abstract

Read online

This paper offers analysis and design of data protection and administration utilizing constructors or special member functions (SMF) and destructor or demolition function (DF) capacities that begin the objects of its class and manipulated the data using encapsulation or concealing data in object-oriented programming (OOP). In (OOP), the accentuation is on data rather than procedures. Class is a technique that ties the data and attributes jointly. SMF work is utilized to begin or initialize the occurrence of a class and DF work crushes the objects when they are no longer needed. Lastly, the paper exhibits Performance Evaluation and Simulation Results for depict how certain security constraints are taken SMF whose errand is to initialize the objects of its class.

Keywords