Skip to content

Category Archives: Java

The super keyword in java is a reference variable that is used to refer to parent class objects. An understanding of Inheritance and Polymorphism is… Read More
Prerequisite: Regular Expressions in Java Quantifiers in Java allow users to specify the number of occurrences to match against. Below are some commonly used quantifiers… Read More
With recurrence use of if-else condition in programming which is tend to occur no matter how much we optimize our code. So taking this factor… Read More
Regular Expressions or Regex (in short) in Java is an API for defining String patterns that can be used for searching, manipulating, and editing a… Read More
‘Iterator’ is an interface which belongs to collection framework. It allows us to traverse the collection, access the data element and remove the data elements… Read More
Comments that execute : Till now, we were always taught “Comments do not Execute”. Let us see today “The comments that execute” Following is the… Read More
  Scanner is a class in java.util package used for obtaining the input of the primitive types like int, double, etc. and strings. It is… Read More
HashMap and TreeMap are part of collection framework. HashMap java.util.HashMap class is a Hashing based implementation. In HashMap, we have a key and a value… Read More
Splitting a string by some delimiter is a very common task. For example, we have a comma-separated list of items from a file and we… Read More
Let us discuss the concept of the arrays and ArrayList briefly in the header to incorporate the understanding in java programs later landing onto the… Read More
The set interface is present in java.util package and extends the Collection interface. It is an unordered collection of objects in which duplicate values cannot… Read More
Linked List is a part of the Collection framework present in java.util package. This class is an implementation of the LinkedList data structure which is… Read More
  Java Collection framework provides a Stack class that models and implements a Stack data structure. The class is based on the basic principle of… Read More
Prerequisite: Arrays in Java A jagged array is an array of arrays such that member arrays can be of different sizes, i.e., we can create… Read More
Given an array, we need to copy its elements in a different array, to a naive user below way comes into mind which is however… Read More

Start Your Coding Journey Now!