OOP (Object Oriented Programming)

OOPs is a problem solvingmethodology. It decomposelarger program into smaller unit called classes. It is easy to use, modify Object orientation- Focu

Importance of the Inheritance

In object oriented programming inheritance most important concepts of the programming language which is very useful and easy to use. When to use: You

Class Concepts in Java (Part-1)

IntroductionA class is a template that encapsulates data and the methods that operate on this data, as in the Employee or Automobile class described e

Encapsulation in Object Oriented Programming (OOPS)

Another big concept associated with object-oriented programming is encapsulation. Every class contains some data in its fields. We hide these fields by declaring them private. We define getter/setter methods to access them.

Information Hiding in Object Oriented Programming (OOPS)

In our everyday life, many of us oftentimes try to hide information from other people. In many situations, the information hiding is an essential part of our life.

Features and Benefits of Object Oriented Programming (OOPS)

It is a good practice to provide a coupling between the data and the methods that operate on the data (method is another name for a function or a procedure, also called an operation).

Packages in OOPS

A package is a namespace that organizes a set of related classes and interfaces. Conceptually you can think of packages as being similar to different folders on your computer.

Interface E.g.

interface Car {     // wheel revolutions per minute     void changeCadence(int newValue);     void changeGear(int newValue);     void spee

Interface in oops

I am thankful to all for reading my blogs and correct my mistake and suggest me much better about oops.I am going to discuss interface role in oops.We


Hope my earlier explanation about object is understood to everyone. Now, i am going to discuss next about classes. let us take e.g. from real worl