Mathematical operators in Java

In Java, we have seven mathematical operators including: +: plus –: subtraction *: multiplication /: division %: modular division ++: double plus —: double subtraction It is easy for plus, subtraction, multiplication, division, and modular division, isn’t it? So, in this tutorial, I will focus… Read More

Non-access modifier in Java

The access modifier in Java defines the access rights of class and variables, methods of that class from outside the class and package. The non-access modifier in Java changes the properties of the class and the variables and methods of that class. For example, abstract… Read More

Access modifier in Java

The access modifier in Java defines access to variables, methods of this class from other classes in the same package or in two different packages. There are four types of access modifiers in Java: public, protected, default, and private. Overview of each access modifier has… Read More

Import command in Java

Talking about import command in Java, we may ask the following questions: What does the import command in Java do? The import command in Java makes us possible to use the name of other classes in our class without having to explicitly declare the name… Read More