About Question enthuware.ocpjp.i.v11.2.3108 :

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

Moderator: admin

Post Reply
hamzaBlm
Posts: 18
Joined: Thu May 23, 2019 11:58 am
Contact:

About Question enthuware.ocpjp.i.v11.2.3108 :

Post by hamzaBlm »

The second option:
It improves security and maintainability
This sounds pretty vague to me. How does the module system improve security and maintainability?

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

Re: About Question enthuware.ocpjp.i.v11.2.3108 :

Post by admin »

Not really. It is quite simple. Modularization prevents access to classes that are not intended to be accessed by others. This protection is provided by the JVM. This makes it more secure because there are less chances of exploiting any weakness.
Modularization also prevents unintented dependency on classes/packages of a library. This obviously makes an application more maintainable.

For more detailed discussion, you may go through this book or this book.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests