Category Java

When Finally Block Is Not Executed in Java

When finally block is not executed in java

In this tutorial, we will familiar with some specific conditions in which finally block will not get executed in Java. So far, we have learned that a finally block always gets executed, whether we have handled exception in catch block…

Logical Operators in Java

Logical operators in Java are those operators which are used to form compound conditions by combining two or more conditions or relations. These operators are also called boolean operators in Java because they return a boolean value of either true…

Assignment Operator in Java

An operator which is used to store a value into a particular variable is called assignment operator in Java. In any programming language, an assignment operator is the most commonly used to assign a value to a variable. There are…

Bitwise Operator in Java

Types of bitwise operator in Java

An operator that acts on individual bits (0 or 1) of the operands is called bitwise operator in Java. It acts only integer data types, such as byte, short, int, and long. We cannot apply bitwise operators to float and…