Computer Science, asked by gurleen778268, 7 months ago

How can constants be declared in java?explain in few lines.,,, answer it fast ​

Answers

Answered by nakulathul
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 Anonymous
0

please mark as brainliest thanks and follow me guys

Attachments:
Similar questions
Art, 7 months ago