by Dinesh Thakur Category: Operators and Expressions

**Constants** :- Constants in java are fixed values those are not changed during the Execution of program java supports several types of Constants those are

by Dinesh Thakur Category: Operators and Expressions

An operator is a symbol which helps the user to command the computer to do a certain mathematical or logical manipulations. Operators are used in Java language program to operate on data and variables. Java has a rich set of operators which can be classified as

by Dinesh Thakur Category: Operators and Expressions

**Identifiers** :- The Identifiers are those which are used for giving a name to a variable ,class and method ,packages ,interfaces etc There Are Some Rules against for using the Identifiers

by Dinesh Thakur Category: Operators and Expressions

The left-shift, right-shift, and zero-fill-right-shift operators <<, >>, and >>> shift the individual bits of an integer by a specified integer amount.

by Dinesh Thakur Category: Operators and Expressions

Logical operators are used to combine one or more relational expressions that results in formation of complex expressions known as logical expressions. Like relational operators, the logical operators evaluate the result of logical expression in terms of Boolean values that can only be **true or false **according to the result of the logical expression.

by Dinesh Thakur Category: Operators and Expressions

The assignment operator (=) is the most commonly used binary operator in Java. It evaluates the operand on the tight hand side and then assigns the resulting value to a variable on the left hand side. The right operand can be a variable, constant, function call or expression. The type of right operand must be type compatible with the left operand. The general form of representing assignment operator is

by Dinesh Thakur Category: Operators and Expressions

Conditional operator (?:) is the only ternary operator available in Java which operates on three operands. The symbol "?" placed between the first and the second operand , and " : " is inserted between the second and third operand. The first operand (or expression) must be a boolean . The conditional operator together with operands form a conditional expression which takes the following form.

by Dinesh Thakur Category: Operators and Expressions

The **bitwise complement operator** (~), which perform a bitwise negation of an integer value. Bitwise negation means that each bit in the number is toggled. In other words, all the binary 0s become 1s and all the binary 1s become 0s.

by Dinesh Thakur Category: Operators and Expressions

Java has two very useful operators. They are increment (++) and decrement (- -) operators. The increment operator (++) add 1 to the operator value contained in the variable. The decrement operator (- -) subtract from the value contained in the variable.

by Dinesh Thakur Category: Operators and Expressions

The Arithmetic operators are used to perform arithmetic operations. The Arithmetic operators are binary operators that work with integers, floating point numbers and even characters (i.e. they can be used with any primitive type except the boolean).

About Dinesh Thakur

Dinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.

Search Content

Popular Article

#### Constant - What is Constant? Type of Constant

#### Java Operator

#### What is Identifiers,Literals,Operator and Separators

#### Shift Operators in Java Examples

#### Logical Operators in Java Examples

#### Assignment Operator in Java Example

#### Conditional Operator in Java with Example

#### Bitwise Complement Operator Example in Java

#### Increment and Decrement Operators in Java Examples

#### Arithmetic Operators in Java Examples

#### Explicit Type Conversion (Type Casting)

#### Bitwise Operators in Java Example

#### Bitwise AND, OR, and XOR Operators in Java Example

#### Relational Operators in Java Example

#### Implicit Type Conversion in Java Example

#### Java Break Statement with Label Example

#### Mathematical Operations in Java Example

#### Compound Assignment Operators in Java Example

#### Java Continue Statement Example

#### Area of Triangle in Java Example

#### Java Arithmetic Operators Example

#### Java Continue With Label Example

#### Break Statement Java Example

#### Comparison Operators in Java Example

#### Java Break Statement Example

Basic Courses

Advance Courses

- What is SDRAM (synchronous DRAM)? - Definition
- What is Non-Volatile Random Access Memory (NVRAM)? - Definition
- Relational Algebra - What is Relational Algebra?
- Definition of Network Operating System
- Definition of Real Time Operating Systems
- Definition of Multitasking Operating System
- what is processor in computer? Types of Microprocessor