How to Read Text File in Java
In this tutorial, we will learn how to read data (or text) of a file using various classes in Java. There are several ways to read a text file in Java. By using the following classes, we can read data…
In this tutorial, we will learn how to read data (or text) of a file using various classes in Java. There are several ways to read a text file in Java. By using the following classes, we can read data…

JavaScript is a compact, object-based computer programming language for developing client and server internet applications. We commonly use JavaScript language in web development to create interactive effects within the web browser. Brendan Eich of Netscape originally developed JavaScript language. JavaScript…
In this tutorial, we will learn how to convert char to int value and vice versa in Java easily. There are three ways to convert char to int value in Java. They are as follows: Get ASCII value Character.getNumericValue(char) String.valueOf(char)…
In this tutorial, we will learn how to convert int numeric value to double value, int value to Double object and vice versa in Java easily. To convert int to double numeric value in Java, we use an assignment operator.…
In this tutorial, we will learn how to convert int numeric value to long value, int value to Long wrapper object and vice versa in Java easily. To convert int to long numeric value in Java, we use an assignment…

In this tutorial, we will learn how to convert a primitive data type boolean to a non primitive data type string in Java easily. Sometimes, we need to convert values from one data type to another, under certain situation. Therefore,…

In this tutorial, we will learn how to convert string to primitive type boolean or Boolean wrapper class object in Java easily. There are three ways to convert a string to a boolean data type. They are as follows: Convert…

In this tutorial, we will learn how to convert a primitive data type char to a non primitive data type string in Java easily. Sometimes, we need to convert values from one data type to another, under certain situation. Therefore,…

In this tutorial, we will learn how to convert string to char data type in Java easily. There are mainly two ways for converting a string into char data type in Java. They are as: Convert using charAt() method Convert…