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.

Immutable String in Java

Why string is immutable in Java

String class in Java is immutable. The meaning of immutable is unchangeable or unmodifiable. That is, once we create a string object with value, we are not allowed to perform any changes in that object. In other words, we cannot…

String in Java | String Literal, String Pool

Creating object to string class in Java is by using new operator

A string is a very important topic in the world of Java or any other programming languages. In almost all programming languages such as C, C++, Java, Python, or any application, whether Java-based or Python-based, the most commonly used object…

String Compare in Java | String Comparison

String compare by = = operator in Java

In this tutorial, we will learn how to compare two strings in Java with the help of examples. We will explore various methods to compare between the two strings. In Java, or any other programming languages, string comparison is the…

Store User-defined Class Objects in ArrayList

In this tutorial, we will learn how to store user-defined (custom) class objects in Java ArrayList in an easy way and step by step. In the previous ArrayList tutorial, we have learned that ArrayList class uses generic from Java 1.5 or…

Static and Dynamic Binding in Java

The connecting (linking) between a method call and method body/definition is called binding in Java. Look at the below figure in which we have defined a class X. It has two methods m1() and m2(). The x.m1(); (method call) is…