How can constants be declared in java?explain in few lines.,,, answer it fast
Answers
Answered by
1
Answer:
hi
hope it helps
Explanation:
In Java, you can create constants only for instance or class variables, not for local variables. A constant is a variable whose value never changes. The only way to define constants in Java is by using the final keyword.
mark as brainliest pls↑↑↑↑
Answered by
0
please mark as brainliest thanks and follow me guys
Attachments:
Similar questions
Computer Science,
4 months ago
CBSE BOARD X,
4 months ago
Geography,
4 months ago
Math,
8 months ago
Science,
11 months ago
Chemistry,
11 months ago
Chemistry,
11 months ago