Skip to main content

Posts

Showing posts from February, 2014

Features of Object Oriented Programming (OOPs)

The OOP is a design philosophy. It stands for Object Oriented Programming. O bject- O riented P rogramming ( OOP ) uses a different set of programming languages than old procedural programming languages ( C, Pascal , etc.). Everything in OOP is grouped as self sustainable " objects ". Hence, you gain re-usability.   **The important features of Object Oriented programming are: Inheritance - Inheritance is the method by which objects of one class get the properties of objects of another class. In object-oriented programming, inheritance provides the thought of reusability. Objects - Objects are primary run-time entities in an object-oriented programming. Objects occupy space in memory. Every object has its own properties or features. Classes - Class is a grouping of objects having identical properties, common behaviour, and shared relationship. Once a class has been declared, the programmer can create a number of objects associated with that class....

Disadvantages of Procedural languages

Procedural languages are difficult to relate with the real world objects. Procedural codes are very difficult to maintain , if the code grows larger. Procedural languages does not have automatic memory management  as like in Java. Hence, it makes the programmer to concern more about the memory management of the program. The data, which is used in procedural languages are exposed to the whole program. So, there is no security for the data. Examples of Procedural languages : BASIC C Pascal FORTRAN