Java Operators

Assignment operator is the most common operator almost used with all programming languages.


 

Ads

Tutorials   
What are the benefits of learning Java Programming? A brief history and future of Java programming language Importance of Java for Mobile Application Development How To Become A Good Software Developer? Learn Java Programming for beginners 5 Reasons Java is Still a Great Language to Boost Your Career Prospect as a Programmer How to learn Java with no programming experience? How to learn Java? What are Classes and Interfaces in Java? Converting a String to Integer in Java How to check if a string exists in a string in JavaScript? Installing JDK 8 on Windows 10 and configuring the settings Video Tutorial of reading file in Java 9 Invincible Reasons to learn Java New to Java programming Java Programming Tips, Articles and Notes How to download JDK 1.6? Encapsulation in Java Programming How to format number in Java? Generics Example Program in Java Java 9 Features Java 9 Tutorial, news and examples How to read content of JPEG file in Java? Image Processing Tutorials in Java Programming Language Introduction to Java Technology Java 8 Consumer Interface with forEach Loop Introduction to Generics in Java Java 8 consumer class(interface) example Oracle Launches Project Valhalla for Java How to read properties file in Java? How to add JDK 8 support in Eclipse? Java 8: Java 8 is officially released and it can be downloaded How to Invoke method using Reflection API of Java? First Lambda Expressions in Java Java 8 expected release date Lambda Expressions example in Eclipse JDK 8 Release Candidates Available Lambda Calculus Lambda Expression in Java 8 How to learn Java easily? Java made easy Oracle to release Java 8 in March 2014 Object Oriented Programming in Java Java Training Free Java beginners Course Easiest way to learn Java Tutorials on Java JDK 8 - Developer Preview Released Step by Step Java tutorials for beginners Learn the Java 8 and master the new features of JDK 8
Ads

Java Operators

     

  1. Simple Assignment Operator
    Assignment operator is the most common operator almost used with all programming languages.
        
  2. Arithmetic Operators
    Arithmetic Operators are used to perform some mathematical operations like addition, subtraction, multiplication, division, and modulo (or remainder).
      
  3. Unary Operators
    The unary operators requires only one operand to perform different kind of operations such as increasing/decreasing a value, negating an expression, or inverting a boolean value.
      
  4. Equality and Relational Operators
    Whenever we need to compare the results of two expressions or operands in a program then the equality and relational operators are used to know whether an operand is equal, not equal, greater than, less than to another operand.
       
  5. Conditional (Logical) Operators
    Conditional operators return a true or a false value based on the state of the variables i.e. the operations using conditional operators are performed between the two boolean expressions. 
      
  6. Bitwise and Bit Shift Operators
    In Java the bitwise and bit shift operators are used to manipulate the contents of variables at a bit level according to binary format.
      
  7. Type Operators
    Java provides a run-time operator instanceof to compare a class and an instance of that class. This operator " instanceof" compares an object to a specified class type
      
  8. Operator Precedence
    In Java, Operator Precedence is an evaluation order in which the operators within an expression are evaluated on the priority bases.
     

Advertisements

Share on Google+Share on Google+

Java Operators

Posted on: December 13, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

 

Discuss: Java Operators   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:4
jai2
June 15, 2011
asa

well...nothing to say..
jyoti agarwal
August 17, 2011
java operator

Simple Assignment Operator Assignment operator is the most common operator almost used with all programming languages. Arithmetic Operators Arithmetic Operators are used to perform some mathematical operations like addition, subtraction, multiplication, division, and modulo (or remainder). Unary Operators The unary operators requires only one operand to perform different kind of operations such as increasing/decreasing a value, negating an expression, or inverting a boolean value. Equality and Relational Operators Whenever we need to compare the results of two expressions or operands in a program then the equality and relational operators are used to know whether an operand is equal, not equal, greater than, less than to another operand. Conditional (Logical) Operators Conditional operators return a true or a false value based on the state of the variables i.e. the operations using conditional operators are performed between the two boolean expressions. Bitwise and Bit Shift Operators In Java the bitwise and bit shift operators are used to manipulate the contents of variables at a bit level according to binary format. Type Operators Java provides a run-time operator instanceof to compare a class and an instance of that class. This operator " instanceof" compares an object to a specified class type Operator Precedence In Java, Operator Precedence is an evaluation order in which the operators within an expression are evaluated on the priority bases.
nagendra.p
August 24, 2012
java operators........................

like this
eshwar
September 16, 2012
java

I would like to learn java plz teach me

Ads

 

Ads