An interface and abstract class are used for achieve abstraction feature in Java. Abstraction is one of the OOP's feature that aims on hiding background… Read More
What is Constructor ? A constructor is used for automatically initializing an object when that particular object is created, enabling us to provide values to… Read More
Java supports a number of primitive data types or built-in types such as int, float, bool etc. variable which is followed by one of these primitive… Read More
What is String ? A string is a sequence of characters and considered as a constant because it cannot be changed once it’s created, making it immutable.… Read More
After compilation of java program by the compiler, the code turns into a respective .class file that contains Java bytecode. The file and the resources… Read More
What is Midpoint Circle Drawing algorithm? A circle can be formed by plotting a set of points or coordinates on the screen which is completely… Read More
In this article, we'll be discussing constructor reference and method reference introduced in Java 8 with the help of code example. Introduction - An alternative… Read More
In Java, a method can be created that can take any number of variables as an argument. A single method can be invoked multiple times… Read More
Basic Concepts to Solve Dice Problems You should keep in mind that a cube has 6 faces. Each face has 4 adjacent faces and 1… Read More
Concept: Generally, you are given a series having some numbers and a missing number. Finding that number is sometimes easy if the series contains the… Read More