Object Oriented Languages



Object Oriented Language
 

OO Languages

Object-based programming languages

Object-oriented programming languages

Data encapsulation

Data hiding & access mechanism

Automatic initialization and object clearing

Operator overloading

Data encapsulation

Inheritance

Dynamic binding

Polymorphism

Data hiding

 

Simula, Smalltalk, Objective C, C++, Ada, Object Pascal, Turbo Pascal, Eiffel, Java are the object oriented languages.

Applications of OOP Languages

OOP has wide applications in IT industry as it can precisely model the real world problem. Few of the application areas enlisted:

  • AI expert systems

  • Neural networks and parallel programming

  • Decision support system

  • CIM/CAM/CAD system

  • Real-time system

  • Simulation and modeling

  • Object-oriented databases

  • Hypertext, hypermedia and expertext

History of C++

C++ is an object oriented language developed by Bjarne Stroupstrup at AT & T Bell Laboratories in the early 1980’s. Bjarne wished to build a powerful language that will have the features of object oriented language and the best features of C. C++ offers the classical features of Simula67 and extension of C which was labeled as ‘C with Classes’ earlier. In 1983, with the increment operator idea from C, the language was renamed as C++. C++ is the superset of C. Almost all C programs can be executed in C++ environment with some minor changes. The important features added by C++ are the concepts of Classes, inheritance, function and operator overloading. The support for polymorphism and inheritance makes C++ the truly object-oriented language.

History of Java

In Sun MIcrosystems, James Gosling was working towards identifying a programming language for a project. Since no single language had the supporting features the team was looking for, they decided to develop their own language called ‘Oak’. Since it was already a registered trademark of some company, they renamed it as ‘Java’. Java supports dynamic applet development.

Fundamentals of Object Oriented Programming

  • Objects
    It is an instance of a class. The data type of the object is the class. It is a variable of a class just like we have a variable of structure.

  • Class
    A class can be termed as the type or category of the objects. A class can have data members and member functions.

  • Methods

  • Data members

  • Message passing

  • Binding