Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question 76 WHAT IS A FINAL ARGUMENT? phrasing #4

Open
surachaitanya opened this issue Jan 26, 2019 · 1 comment
Open

Question 76 WHAT IS A FINAL ARGUMENT? phrasing #4

surachaitanya opened this issue Jan 26, 2019 · 1 comment

Comments

@surachaitanya
Copy link

Shouldn't it say "parameter" instead of "argument", to be really precise?

@surachaitanya
Copy link
Author

One more interesting argument, although it changes a bit with Java 8, but non-the-less interesting:
As a formal method parameter is a local variable, you can access them from inner anonymous classes only if they are declared as final.
(https://stackoverflow.com/a/4162717/2052354)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant