What is Java Oops Concept ?

What is Java Oops Concept ?


Define :OOPS [Object-oriented programming System]

The Java language assumes that you want to do only object-oriented programming. This means that before you can begin you must shift your mindset into an object-oriented world (unless it’s already there). The benefit of this initial effort is the ability to program in a language that is simpler to learn and to use than many other OOP languages. We’ll see the basic components of a Java program and learn that (almost) everything in Java is an object.

  • OOPS is a concept in which a program is designed, and implemented in the form of classes, and objects that simplify the development of an application.

In oops, Data present at central location, and operation on data performed inside the method. Data, and method combine in a single entity known as class.

  

First oops language: Simula 67(1967)

First truly oops language: Small talk (1969)

Features of OOPS-

  1. Abstraction
  2. Encapsulation
  3. Inheritance
  4. Polymorphism

We will discuss the above given topics in further coming chapter.

Advantages of OOPS-

  1. Coding is minimised.
  2. Redesign, and updating is easy.
  3. Yes, Reusability [By inheritance].
  4. Support bottom to top approach.
  5. Focus on data.