Object Oriented Programming Concepts.

Java supports most of the modern day applications from the world wide web to household appliances. It is designed to work in a heterogeneous network distributed environment. It allows secure delivery of applications that consume the minimum of system resources, can run on any hardware and software platform, and can be extended dynamically.



What is OOP'S?


        Object oriented programming organizes a program around its data, i.e, object is a set of well defined interfaces to that data. An object-oriented program can be characterized as data controlling access to code.





Concept of OOP'S


       All object-oriented languages provide mechanisms to implement object-oriented concepts. They are encapsulation, inheritance, and polymorphism.



 

Inheritance


        It is the method of inheriting the properties of one class from some other class. The class which inherits its own properties is known as a Base/Super Class. The class which inherits another class is known as Derived/Subclass.


Encapsulation 


       It is the mechanism that binds together code and the data it manipulates. This keeps both safe from outside interfaces and misuses. It is a wrapper, which prevents the code and data from being accessed by any other code defined outside the wrapper. Access to the data inside the wrapper is controlled through an interface
                                                                          OR
      The wrapping up of data and its associated function into a single unit is known as Encapsulation. It is the way of implementing Data Abstraction.

 


Polymorphism

                  It is the ability of representing a thing in more than one form. Here the word 'poly' means that 'many' and 'morphism' means that 'phase'

Abstraction 

          This is the act of representing essential feature of an object without knowing the background and detail is known as Abstration



Application of OOP'S

  • Object-oriented databases
  • Simulation and modeling
  • Parallel Programming
  • Hypertext and Hypermedia
  • Networking
  • Real-time system
  • Decision support systems
  • Office automation systems
  • Computer added design systems(CAD)

Comments

Popular posts from this blog

[Question 3] ISC 2017 Computer Practical Paper Solved – Caesar Cipher.

Pattern of your own name.

Designing Patterns - Print 'Z'.