Java | What Is The Difference Between Variable, Object, And Reference?

In This Tutorial we will Discuss Java | What Is The Difference Between Variable, Object, And Reference? A variable is used for storing the data, Objects are the instant of class, and reference types points toward the object stored in the heap area and store the address. What Is Variable In Java? Variables are some … Read more

What is Recursion in Java explain with example?

Here we will Learn What is Recursion in Java and explain it with examples? recursion is calling a function time and again and making it a loop with a given condition and updations and executing a set of code multiple times in a loop to get desired output. Function Calling A function call is a … Read more

What is Upcasting and Down casting In Java?

In this tutorial, we will learn What is Upcasting and Downcasting In Java? Upcasting which is also known as a generalization or widening is casting in the parent type or from an individual type to a common type whereas down casting means specialization or we can say narrowing means casting to a child type. Or … Read more

%d bloggers like this: