how are intezer constants represented in java
Answers
Answered by
1
Answer:
java supports several types of Constants those are. Integer Constants: Integer Constants refers to a Sequence of digits which Includes only negative or positive Values and many other things those are as follows. • An Integer Constant must have at Least one Digit. • it must not have a Decimal value.
Answered by
1
By using int as a data type
ex-
int a=6;
Similar questions