Skip to main content

Posts

Showing posts with the label Operators and Expressions

Operators and Expressions

Introduction     Java Supports  a rich set of operators.  An operator is a symbol that tells the computer to perform certain mathamatical or logical manipulataion. Operators are use in programes to manipulate data and variables. Usually it is part of mathmatical or logical expressions. There are some categories of java operators as below:     Arithmatic Opertaors     Relational Operators     Logical Operators     Assignments Operators     Increment and Decrement Operators.     Conditional Operators     Bitwise Operators     Special Operators. 1. Arithmatic Operators:     Arithmatic operators are use to construct mathemaical expressions an in algebra. Java supports all the basic arithmatic operators.     Arithmatic operators are use as below:          a-b          a-b=10          -14%3=-2 Example...