Java Online Training In Andhra Pradesh and Telangana
Opening Hours :7AM to 9PM
Next Topic: Variable
Constant is an identifier whose value can not be changed.In java language these constants are classified into following types
Numerical means numbers .these are classifed into 2 types
Integer constants menas + or - numbers.
Real constants means floating values or decimal values.
These are classified into fllowing types
1.Single character constants
2.String character constants
Single Character Constants:
If any character or symbol or number enclosed with single quotation.
String Character Constants:
Group of characters or symbols or numbers encliosed with double quotation.
What is Constant
What is Numerical Constants
What is Integer Constant
What is Real Constant
What is Character Constants
What is Single Character Constants
What is String Character Constants