Modifying index.md (#24861)

Update wording on changing values for final variable
This commit is contained in:
Viplav K
2018-12-13 23:26:48 -05:00
committed by Manish Giri
parent 4887c4316e
commit 1c32e2b6be

View File

@ -14,7 +14,7 @@ class MyClass {
}
}
```
PI is now a constant. Any attempt to assign it a value will cause an error.
PI is now a constant. Any attempt to reassign the value for PI will cause an error.
-----------------------------------------------------------------------------------------
If you make any method as final, you cannot override it.