Series: OOPS Concepts

Java OPPS Concepts

Java Data Type Casting Type Conversion

Java Data Type Casting Type Conversion Summary: By the end of this tutorial "Java Data Type Casting Type Conversion", you will be comfortable with converting one data type to another either implicitly or explicitly. Java supports two types of castings – primitive data type casting and reference type casting. Reference type casting is nothing but …

Java Data Type Casting Type Conversion Read More »

OOPS concepts Tutorial

OOPS concepts Tutorial Summary: By the end of this tutorial "OOPS concepts Tutorial", you will understand the meaning of OOPS concepts. Three basic concepts of OOPS Abstraction Encapsulation Polymorphism 1. Abstraction Abstraction means using the equipment (or code) without knowing the details of working. For example, you are using your mobile phone without knowing how …

OOPS concepts Tutorial Read More »

Reference Variables Objects Anonymous objects

Reference Variables Anonymous objects Summary: By the end of this tutorial "Reference Variables Anonymous objects", you will be comfortable in creation of Java objects, reference variables and anonymous objects. Java includes two types of variables – primitive variables and reference variables. A primitive type refers a primitive data type and reference type refers a class. …

Reference Variables Objects Anonymous objects Read More »

Difference Encapsulation Abstraction

Difference Encapsulation Abstraction Summary: It is very confusing concept, as one depends on other, for a Java beginner to understand. Explained in simple terms in this tutorial "Difference Encapsulation Abstraction". How to explain the difference between Encapsulation and Abstraction before an Interviewer? Encapsulation is an OOPS concept. As everyone says, Encapsulation is binding the data …

Difference Encapsulation Abstraction Read More »