About Question enthuware.ocpjp.ii.v11.2.3345 :
Moderator: admin
-
- Posts: 3
- Joined: Wed Jul 27, 2022 7:35 am
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3345 :
How can a final variable be changed by a method? Does this have to do with the fact that the method setIn0() is labeled "native"?
-
- Site Admin
- Posts: 10403
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3345 :
That's right. A native method executes low level code directly using OS service calls, bypassing the JVM. This allows it do stuff such as manipulating memory directly.
Who is online
Users browsing this forum: No registered users and 10 guests