Pass-By-Value as a Parameter Passing Mechanism in Java   1. Introduction The two most prevalent modes of passing arguments to methods are “passing-by-value” and “passing-by-reference”. Different programming languages use these concepts in different ways. As far as Java is concerned, everything is strictly Pass-by-Value. In this tutorial, we’re going to illustrate… Continue Reading java-pass-by-value-or-pass-by-reference

Variable and Method Hiding in Java 1. Introduction In this tutorial, we’re going to learn about variable and method hiding in the Java language. First, we’ll understand the concept and purpose of each of these scenarios. After that, we’ll dive into the use cases and examine different examples. 2. Variable… Continue Reading java-variable-method-hiding

Common Java Exceptions 1. Introduction This tutorial focuses on some common Java exceptions. We’ll start by discussing what an exception basically is. Later, we’ll discuss different types of checked and unchecked exceptions in detail. 2. Exceptions An exception is an abnormal condition that occurs in a code sequence during the… Continue Reading java-common-exceptions