Excerpts from justification for option #1
...
However, note that if a warning is suppressed in a module-info file, the suppression applies to elements within the file and not to types contained within the module.
...
Could you pls elaborate this with an example.
Thx.
enthuware.ocpjp.v11.2.3380
Moderator: admin
-
- Posts: 10
- Joined: Thu Apr 15, 2021 9:02 am
- Contact:
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: enthuware.ocpjp.v11.2.3380
Not sure what kind of example are you looking for. All it means is that if you apply @SuppressWarnings to an element in a module-info then it will not suppress the warnings emanating from the classes contained in that module.
It is not really important for the exam but provided just as information.
You may see this to get an idea : https://stackoverflow.com/questions/496 ... odule-warn
It is not really important for the exam but provided just as information.
You may see this to get an idea : https://stackoverflow.com/questions/496 ... odule-warn
If you like our products and services, please help us by posting your review here.
-
- Posts: 10
- Joined: Thu Apr 15, 2021 9:02 am
- Contact:
Who is online
Users browsing this forum: No registered users and 91 guests