Disadvantages Of Object Oriented Programming

2889 Words12 Pages
Table of Contents Overview of Object Oriented Programming 2 History 3 Main features 4 Advantages 4 Disadvantages 4 Object Oriented Programming Concepts 5 Objects 5 Classes 5 Inheritance 6 Interface 6 Package 6 Design Patterns 7 What is a design pattern? 7 1) Creational Patterns 7 2) Structural Patterns 8 3) Behavioral Patterns 9 OOP concepts explained with java examples 10 1) How to model relationships between Objects using IS-A and HAS-A Relationships 10 2) Abstraction in the Java Programming Language 12 3) What is encapsulation? 14 4) Difference between Overriding, Overloading 16 5) Difference between Interfaces and Abstract classes. 18 Reference 20 Overview of Object Oriented Programming A programming language model which is structured…show more content…
It was a programming language designed to create simulations. It was created by Ole Johan Dahl and Kristen Nygaard at Norwegian Computing Center. SIMULA introduced the classes and instances of classes known as objects. Automatic garbage collection which was used for the functional programming language LISP was also implemented in SIMULA. Smalltalk, derivatives of LISP (CLOS), Object Pascal, and C++ was inspired by SIMULA 67. In 1970s Smalltalk language was developed at Xerox PARC by Alan Kay and several others. It was influenced by the ideas of SIMULA 67. Smalltalk was a dynamic system in which classes could be created and modified dynamically rather than statically. Smalltalk and object oriented programming were introduced to a wider audience by Byte Magazine in August 1981 issue. The idea of object-oriented programming became popular in the 1970s. In the early 1980s Bjorn Stroustrup combined object-oriented programming into the C language. Thus creating a language was called C++ and it became the first object oriented language to be widely used commercially. In the early 1990s James Gosling developed a simplified version of C++ called Java for video on demand applications. Java became popular after it was re-developed as a language for programming Internet…show more content…
OOP will be a programming paradigm that will continue to evolve throughout future. Main features Here are some important features of object oriented programming. • Encapsulation: Restrict access to data and methods of an object. • Inheritance: Inherit commonly used states and behaviors from other classes. • Polymorphism: Single class based new classes. • Message Passing: Object communication. • Garbage Collection: Destroys unusable objects which is no longer used by the program. Advantages • Re-usability: You can redevelop a program using a previous codes. • Code Sharing: Standard programming techniques. • Rapid Modeling: Class prototyping using diagrams. Disadvantages • Size: Uses more memory and storage. Larger than other programs. • Effort: Requires a complex designing and developing procedures. Object Oriented Programming Concepts
Open Document