Saturday, 26 January 2013

Identifiers, and Data Types


Identifiers


Identifiers are names of things, such as variables, constants, and methods, that appear in programs. A Java identifier consists of letters, digits, the underscore character ( _), and the dollar sign ($), and must begin with a letter, underscore, or the dollar sign.

Data Types

The objective of a Java program is to manipulate data.  Data type is a set of values together with a set of operations. Only certain operations can be performed on a particular type of data.

No comments:

Post a Comment