In the programming language Java, which of these keywords would you put on a variable to make sure it doesn't get modified?
- Static
- Final
- Private
- Public
Answer
The correct answer is B) Final.
More Science: Computers questions
- What is the name of Layer 7 of the OSI model?
- What does the computer software acronym JVM stand for?
- The C programming language was created by this American computer scientist.
- What does the Prt Sc button do?
- The Harvard architecture for micro-controllers added which additional bus?
- Which data structure does FILO apply to?