Posts by Arihant Jain

Author Biographical Info: Not available

Command Line Arguments

By Arihant Jain

In Java, command line arguments are used to take user input before running the program in a single line. When we run the program in compiler, we write “javac filename.java.... Read More

Casting and Conversion in Java

By Arihant Jain

First of all, let’s understand what typecasting is. In Java, Typecasting is a process that converts one data type into another data type. It is done in both ways manually and.... Read More

Generating dialog boxes in Java

By Arihant Jain

In this tutorial, we will create a code that will help us to generate dialog boxes in Java. In Java, we will use JOptionPane class to generate dialog boxes.  JOptionPane is a buil.... Read More