2 minute read

Due to the dynanmic binding, the executions of Object Oriented programs are slower

Next Article
Real time systems

Real time systems

Programs are divided into sub parts called Objccts. 3Functions and data are tired togcther vithin the ebject4 Data is hidden and cannot he access by externafimctins.

5. Objects may communicate with each other through functtons. 6. New data and functions can beeasily added whenevernecessary

Advertisement

OOPs follow Boitom-lp approach in program design S. OOPs give secunty to data.

Disadvantagesof OOPs: . OOPs source code is too bigger. hence it requires huge memory. 2. Bottom-Up approach gives a little bit ofconfusion to the programmer. 3. Due to the dynanmic binding, the executions of Object Oriented programs are slower than Procedure Oriented Programs.

Applications of0OP 1. Artificial intelligence and expert systems. 2. Simulation and modeling studies. 3. Object oriented data base systems.

Object orientedoperatingsyustems.. 5. Real time systems. 6. Decision support and office automation systems. 7. CAD(Computer Aided Design)/CAM(Computer Aided Manufacturing) systems. 8. Multimedia applications graphical user interface. 9. Computer based training educations. 10.GULbasedapplieationssuchaswindowsapplieations 11. Data recovery systems & Image processing tools. 12. Distributed systems. 13. Neural networks and parallel programming. 14. Audio and video manipulation tools. Benefits ofOOP

OOP offers several benefits to both the programming designer and the user. The following are the advantages of oopsI. Through inheritance we can eliminate repeated code & extend use of existence class. 2. Data hiding helps the programmer to build secure programs. 3. It is easy to partition the work in to number of objects. 4 Object oriented systems can be casily upgraded lrom small to large sy stem 5. Message passing techniques are uselul for communicatjon between the objects Nettu Xerox

8. nheriiance uses to create new data types. 9. User defined data types can be easily created. 10. Better reliable and portable. I1. Dynamic linking is available.

(or)BasicFeaturesof Basic O0Ps(or) Conceptsof Keyconceptsof 00Ps OOPs(or)00PCharacteristics: The following are the basic concepts ofobject oriented programminglanguage. 1. Objects 2. Class 3. Data Abstraction 4. Encapsulation 5. Inheritance 6. Polymorphism . Dynamic binding 8.Messagepassing

1.Obiects:

Objects are thebasicrun time entities in an object oriented programming. Objects may represent a person, a place, a bank account or any item.

Object takes memory space and has an addresSs. Objects are the variables and classes are data types. Each object contains data and methods. Byusingmethods,we can manipulate data.

Two ways of representating an object

Object: Student

DATAT STUDENT|

Name Date of Birth Marks COurse Functions

Total

TAL

AVERAGE

Average DISPLAY

DISplay (A)

(B)

2. Classes: Classes arethebasicbuitdingbtocksofoops A class is a kind ofblueprint or template or internal structure of an object. The entire set of data and code of an object can be made with the help ofaclass. .Once a class has been defined, we create number ofobjects belonging to that class. Class is a data type and object is a variable ofthat class.

Class Objects

Fruit | Bike Mango.banana,apple Hero,Yamaha, Honda

This article is from: