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.

Operators in Java: Types, Examples

Types of operators in Java

In this tutorial, we will learn operators in Java and their types with examples. Generally, we write a program to perform some basic operations. For example, we can perform the addition of two numbers just by using + symbol in…

Relational Operators in Java with Example

Relational operators in Java are those binary operators that are used to perform the comparison between two values or expressions. For example, we can use relational operators to determine which number is larger, compare the ages of two people, compare…

Conditional Operator in Java (Ternary Operator)

Conditional operator in Java

The conditional operator in Java provides a one-line approach for creating a simple conditional statement. It is commonly used as a shorthand method for the if-else statement. It makes the code much simpler, shorter, and more readable. The conditional operator…

String Constructor in Java with Example

In this tutorial, we will understand the most commonly used string constructor in Java with the help of example programs. In Java, string class supports several types of constructors to create and initialize string objects based on the various types…

StringBuffer Class in Java

Difference between length and capacity in Java StringBuffer class

StringBuffer in Java is a peer class of String that provides much of the functionality of strings. It provides more flexibility than String. As we know that a string is fixed-length, immutable, and cannot be modified. That is, once we…