Hello everyone, in this post, we will learn how to implement an interface using an Enum in Java. As we know, Enums are used to represent a group of named constants. For example, we.... Read More
In this post, we will learn how to implement Associative Array in Java. An associative array is an array with named indexes. It consists of elements in form of key-value pairs wher.... Read More
In this tutorial, we will learn about the Compiler class in Java. This class provides support and related services to java-to-native-code compilers. Declaration The declaration of .... Read More
Hello everyone, in this tutorial, we will talk about the super keyword in Java. The super keyword in Java is used as a reference variable. It can be used to refer to the parent cla.... Read More
In this tutorial, we will be learning Josephus problem and its recursive solution in Java. Suppose we have p persons standing in a circle. In the beginning, there is a sword in som.... Read More
In this section, we are going to learn about Kahan Summation Algorithm and implement it in the Java program. This algorithm is also known as compensated summation, it is generally .... Read More
The following tutorial explores Inheritance vs Delegation in Java language. What is Inheritance? Inheritance is among the four main features (Encapsulation, Abstraction, Polymorphi.... Read More
An IPv4 IP Address is a 32-bit number that can be assigned to several devices in a network for identification, communication, etc. In the following tutorial, we will learn how to v.... Read More