Computer Science, asked by ranjeetabiswas18, 1 month ago

define symbolic constant with one variable
in java​

Answers

Answered by mostak4
0

Answer:

What are symbolic constants in Java?

Symbolic constants in Java are named constants.

We use the final keyword so they cannot be reassigned a new value after being declared as final.

They are symbolic because they are named. Here are a couple examples of symbolic constant variables.

final int MAX_THREADS = 20;

final int MAX_USERS = 40;

final int MAX_SESSIONS = 50;

Similar questions