Share on Google+Share on Google+

Java7 : OOPs Concepts

In this section we will discuss concept of Object oriented programming.

JAVA7 : OOPs Concept

In this section we will discuss concept of Object oriented programming.

Object Oriented Programming :

Object Oriented Programming, better termed as OOPs is a paradigm where everything is represented as an object. It provides ability to simulate real-world event much more effectively. Everything in OOPs is written inside the class so that you can reuse the class.You can use properties and methods with the help of class objects. If you are new to OOPs just understand the following terms in OOPs.

Object : An object is a thing which can perform a set of related activates. It is set of activates for that it is used and it also defines its behavior. It plays an important role during the program execution as it is accessed. created or deleted at run time.

Class: Class is just like template that holds your objects. You can also say that class is a blue print that can be used used in creating object.

It provides a great flexibility, reusability, modularity and security to an application and simplifies the software development and maintenance by providing following concepts:

  • Abstraction
  • Encapsulation
  • Inheritance
  • Polymorphism

Abstraction : Abstraction means hiding the unnecessary information to the user and show only essential features.

Encapsulation: Encapsulation is a way of wrapping up data and methods into a single unit.

Inheritance: Inheritance means accessing properties of super class including its own functionality.

Polymorphism: It is a concept to have more than one form. In polymorphism, we use the method overloading and method overriding techniques.


Posted on: December 13, 2012 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: JAVA7 : OOPs Concept  

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image