Friday, April 10, 2009

Using the Java Assignment Operator

In Java the assignment operator is denoted by the equals sign (=). Its function is indicated by its name. It assigns the value shown to the right of the = sign to that which lies to the left of the sign. The About.com: Java site page titled Assignment Operator explains this with examples.

Here's are examples of my own:

String idAdvocate = "William Dembski"

boolean isDesigned = true

Labels:

0 Comments:

Post a Comment

<< Home