Archives for 

Java OOps Concepts

Polymorphism in Java

Polymorphism in java is a concept by which we can perform a single action by different ways. Polymorphism is derived from 2 greek words: poly and morphs. The word “poly” means many and “morphs” means forms. So polymorphism means many forms. There are two types of polymorphism in java: 1.Compile time polymorphism 2.Runtime polymorphism. We […] Continue reading →

Inheritance in Java

Inheritance is one of the key concept in the object oriented programming language. Inheritance is a technique of creating a new class from an existing class by inheriting all the features of the existing class and adding additional feature of its own.This will helps is to reused the function which are declare in another class.so,we […] Continue reading →

Encapsulation in Java

Encapsulation is grouping of the properties and methods within a class. Providing access to an object only through its messages,while keeping the details private is called information hiding.An equivalent term to information hiding is encapsulation.Encapsulation is a process that allows selective hiding of properties and methods in a class.The advantage of encapsulation is that a […] Continue reading →

Abstraction in Java

Abstraction is a process to hiding the implementation details and only showing the functionality to the user.Abstraction lets you focus on what the object does instead of how it does it. According to this concept user can fetch the data from the class which is relevant to their application without knowing how they will operate. […] Continue reading →

Object in java

Object Object is a unique entity, which contains data and functions (characteristics and  behaviour) together in an object oriented programming (oop) Language.They are the basic elements of Object Oriented system and they are also known as the entities of the OOP. The set of related objects may exchange data and information. They may interact with […] Continue reading →

Class in Java

Class Class represents a group of similar objects. The class binds the data, describe the entity and its associates functioning together. So we can say that class is a set of data member or data function. A class is like an object factory. Whenever anew object is required, it is created using the information in […] Continue reading →

Basic Elements of OOPs

Basic Elements of OOPs There are Eight basic elements in Object oriented Language. Object Class Data Abstraction Encapsulation Data Hiding Inheritance Polymorphism Dynamic Binding 1.Object: Any entity that has state and behavior is known as an object.They are the basic elements of object Oriented system For example: chair, pen, table, keyboard, bike etc. It can […] Continue reading →

What is OOPs?

Object Oriented Programming (OOP) OOPs is an approach to standardize the programs by creating partitioned memory area for both data and function.It has been developed to increase the programmer’s productivity and also to overcome the traditional approach of the programming. An object Oriented programming is a modular approach ,which allows the data to be applied […] Continue reading →