what is oops concept in java?

5
What is OOPs concept in Java? In this article, we will get the fundamentals of OOPs. Object Oriented Development is a model that provides many ideas such as inheritance, data binding, polymorphism etc. Simula is known as the first object- oriented programming language. The programming model where everything is showed as a product, is known as truly object-oriented programming terminology.

Upload: kanchan-mahajan

Post on 01-Aug-2016

214 views

Category:

Documents


0 download

DESCRIPTION

In this article, we will get the fundamentals of OOPs. Object Oriented Development is a model that provides many ideas such as inheritance, data binding, polymorphism etc.

TRANSCRIPT

Page 1: What is oops concept in java?

What is OOPs concept in Java?

In this article, we will get the fundamentals of OOPs. Object Oriented Development is a model that provides many ideas such as inheritance, data binding, polymorphism etc.Simula is known as the first object-oriented programming language. The programming model where everything is showed as a product, is known as truly object-oriented programming terminology.

Page 2: What is oops concept in java?

Object Any entity that has state and actions is known as an object.

For example: seat, pen, desk, key-board, bicycle etc. It can be physical and logical.

Class Collection of objects is known as class. It is a logical entity.

Inheritance When one object gets all the qualities and behaviors of the

parent object i.e. known as inheritance. It provides system code reusability. It is used to accomplish runtime polymorphism.

Page 3: What is oops concept in java?

Polymorphism

When one process is completed by different ways i.e. known as polymorphism. For example: to talk the client in a different way, to attract something e.g. form or rectangular form etc.

In Java, we use method over-loading and method overriding to accomplish polymorphism.

Another example can be to talk something e.g. elephants grunt, horse snort etc.

Page 4: What is oops concept in java?

A Java class is the example of encapsulation. Java beans is the completely exemplified class because all the information associates are personal here.

Pros of OOPs over Procedure-oriented programming language

1)OOPs makes development and servicing easier where as in Procedure-oriented programming terminology it is not easy to handle if system code develops as a new development.

2)OOPs provides concealing information whereas in Procedure-oriented prgramming language an global information can be utilized from anywhere.

3)OOPs gives capability to imitate real-world occasion much more successfully. We can give the remedy of actual term problem if we are using the Object-Oriented Growth terminology.

Page 5: What is oops concept in java?

You can learn java basics to make your profession in this field as a professional java developer.

THANK YOU