Saturday, 26 January 2013

Special Symbolsm and Word Symbols


The following are special symbols in Java.

+          -           *          /
.           ;           ?          ,
<=        !=         ==        >=

The first row of symbols includes mathematical symbols for addition, subtraction, multiplication, and division. In Java, commas are used to separate items in a list. Semicolons are used to end a Java statement.  The symbols in the third row are used for comparisons.


Word Symbols

Word symbols are called reserved words or keywords. Examples include int, float, double, char, void, public, static, throws, return.

No comments:

Post a Comment