Category Java

Scientech Easy welcomes you in the Java tutorial category. We have designed this tutorial series for beginners, students, and professional developers who want to learn Java programming from basic to advanced levels. Here, you will find easy-to-understand Java tutorials, practical example programs, interview questions, and quizzes.

So, let’s start to understand Java concepts one by one with these tutorials.

Convert Long to String in Java

How to convert long to string in Java

In this tutorial, we will learn how to convert primitive long or wrapper Long class object to string in Java. Sometimes, we need to convert values from one data type to another, under certain situation. For example, if we need…

Convert String to Long in Java

Convert string to long in Java

In this tutorial, we will learn how to convert Java String to wrapper Long class object or primitive type long value easily. There are some situations where we need to convert a number represented as a string into a long…

How to Convert Int to String in Java

How to convert int to string in Java

In this tutorial, we will learn how to convert primitive int or Java wrapper integer class object to string in Java. Sometimes, we need to convert values from one data type to another, under certain situation. For example, if we…

Convert String to Int in Java

Convert String to int in Java

In this tutorial, we will learn how to convert string to primitive int or integer object in Java easily. There are some situations where we need to convert a number represented as a string into an integer type in Java.…

Java Program to Swap Two Strings

In this tutorial, we will write a Java program to swap two strings without using the third or temporary variable. Before going to this approach, we will first learn how to swap two strings using the third variable in Java.…