#### Constant:

Constant is an identifier whose value can not be changed.In java language these constants are classified into following types

- Numerical constants
- Character constants

- Numerical constants:
Numerical means numbers .these are classifed into 2 types
- Integer constants
- Real constants

- Integer constants:
Integer constants menas + or - numbers.

example:

int x=10;

int y=-10

- Real constants:
Real constants means floating values or decimal values.

example:

float x=10.0;

- Character constants:
These are classified into fllowing types
- Single character constants
- String character constants

- Single character constants:
If any character or symbol or number enclosed with single quotation.

example:

char x='a';

char x='2';

char x='@';
- String character constants:
Group of characters or symbols or numbers encliosed with double quotation.

example:

String s1="abc";

String s2="@##$";

String s3="123";