Operators in Java

There is a good operator environment provided by Java. These operators are divided into four different groups i.e. arithmetic, bitwise, relational, and logical. There are other operators also available to handle some unusual situations. Below is a detailed description...

Java Keywords

The Java Keywords There are 50 unique keywords defined in the Java language that are used for some internal process or represent some predefined actions. abstract continue for new switch assert default goto package synchronized boolean do if private this break double...

Java Command Line Argument

Command-line arguments are passed to the main() method when we want to pass information into a program during runtime. It is the information that directly follows the program’s name on the command line when it is executed. How to use a command-line argument in a Java...

Java Strictfp Keyword

Strictfp is used to impose limits on floating-point calculation. It ensures that we will get the same result on every platform while performing an operation with the floating-point variable. The floating-point calculation is platform-dependent due to which the output...

Access Modifier in Java

The access modifiers in java are used to change the accessibility and scope of a method, constructor, class, and fields. If you are aware of C++ language, when we declare any member inside a class without public keyword then it is by default taken as private. But in...

Pin It on Pinterest