1. Home
  2. Computing & Technology
  3. Java

Assignment Operator

By Paul Leahy, About.com

Definition:

The most commonly used operator is the assignment operator. It is denoted by the "=" character and simply assigns the value on the right to the operand on the left.

Examples:
String favouriteFood = "Banana";
int age = 123;
boolean isOld = true;

Glossary:

# A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Explore Java
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Java
  4. Java Glossary
  5. #
  6. Definition for the Term: Assignment Operator>

©2009 About.com, a part of The New York Times Company.

All rights reserved.