Question PRG-JAVA-0051
MediumWhat does the 'final' keyword on a local variable mean in Java?
- A.
It is static
- B.
It is garbage collected immediately
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Java question
What does the 'final' keyword on a local variable mean in Java?
It is static
It is garbage collected immediately
Sign up free to see the answer and a step-by-step explanation.
It can be assigned only once
It is stored on the heap