Computer Science, asked by anaskhan32, 1 year ago

how are intezer constants represented in java​

Answers

Answered by Faraaz17
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 aarushi050203
1

By using int as a data type

ex-

int a=6;

Similar questions