0 votes
in JAVA by

Which of the following is a benefit of using modules in Java 9?

a) Improved performance

b) Better encapsulation

c) Easier development

d) All of the above

1 Answer

0 votes
by
Answer: b) Better encapsulation

Explanation: One of the key benefits of using modules in Java 9 is better encapsulation, which allows you to control which packages are accessible to other modules.

Related questions

0 votes
asked Sep 9, 2022 in Python by john ganales
0 votes
asked May 23 in C Plus Plus by rajeshsharma
...