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.

Static Method in Java with Examples

Relationship between instance and static members in java

When a method is declared with the keyword static in its heading, it is called a static method in Java. If not, it is called non-static (or instance) method. A static method is also known as class method because, like…

Static Variable in Java with Examples

Diagram shows that how static variable in Java is shared across all objects and retains its value.

In this tutorial, we will learn about the static keyword, and static variable in Java with the help of examples. Generally, when we create a class in Java, we don’t know anything about its members until we create an object…

Instance Block in Java | Types, Example

Different types of blocks in Java

In this tutorial, we will learn about the instance initialization block (IIB) in Java with the help of examples. Before understanding it, let us first understand what a block is in Java. A block in Java is a set of…

Non Access Modifiers in Java

Non-access modifiers in Java

In this tutorial, we will learn about all non-access modifiers available in Java. We know that access modifiers such as private, default, protected, and public restrict the visibility (accessibility) of classes, fields, methods, or constructors in Java. These access modifiers…

Main Method in Java: Syntax, Example

main method in java

A main method in Java is an entry point to start the execution of a program. Every Java application has at least one class and at least one main method. Normally, an application consists of many classes and only one…