About Question enthuware.ocpjp.ii.v11.2.3345 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
marcoolivi
Posts: 3
Joined: Wed Jul 27, 2022 7:35 am
Contact:

Re: About Question enthuware.ocpjp.ii.v11.2.3345 :

Post by marcoolivi »

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"?

admin
Site Admin
Posts: 10403
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.ii.v11.2.3345 :

Post by admin »

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests