Latest Posts From Jayant Verma

System.exit() in java

System.exit() in Java

The System.exit() method terminates the Java virtual machine. This method takes an argument, which is the status code passed to the caller. A status code of zero signifies a normal exit whereas a status code….

Set to List in Java

How to Convert Set to List in Java

Lists in Java are ordered collection of data, whereas sets are an unordered collection of data. A list can have duplicate entries, a set can not. Both the data structures are useful in different scenarios…..

Pair Class in Java

What is a Pair Class in Java?

Java Pair class stores two values in the form of a tuple. This can be useful to get a function to return two values. Java has an inbuilt Pair class from Java 8 onwards. That….


How to Merge Two Lists in Java?

Merging two lists in Java is often a useful operation. These lists can be ArrayLists or LinkedLists. How to Merge Two Lists in Java There are multiple ways we can merge two lists in Java…..

Java replaceAll() statement

Java String replaceAll() Method

Java String replaceAll() replaces all the occurrences of a particular character, string or a regular expression in the string. The method returns a new string as its output. The method requires two parameters. String replaceAll()….

how to find system properties in Java

How to Get System Properties in Java?

The System class in Java maintains a set of properties. These properties are stored in the form of key/value pairs. Both keys and values are Strings that define traits or attributes of the current working environment. There….

+= Operator In Java

What is += Addition Assignment Operator in Java?

It’s the Addition assignment operator. Let’s understand the += operator in Java and learn to use it for our day to day programming. x += y in Java is the same as x = x….

inode in Linux

What are inodes in Linux?

Inodes in Linux is a data structure that stores metadata about files. The inode is short for index node. It contains the following information about a file : User ID of the file Group ID….

Proc Info files

/proc/cpuinfo and /proc/meminfo files in Linux

/proc is a directory in the Linux system that contains information about the system. /proc is not a real file system, rather a virtual file system. It is sometimes also referred to as a process….

Execute A Command In Shell Scripts

How to Execute a Command in a Shell Script?

Shell is a command-line interpreter that allows the user to interact with the system. It is responsible for taking inputs from the user and displaying the output. Shell scripts are a series of commands written….

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages