0 votes
in JAVA by
Can we access the non-final local variable, inside the local inner class?

1 Answer

0 votes
by

No, the local variable must be constant if you want to access it in the local inner class.

Related questions

0 votes
asked Jan 1, 2021 in Python by SakshiSharma
0 votes
asked May 5, 2021 in JAVA by SakshiSharma
...