I don't understand, why i must do this? Can you explain?Therefore, calls to these methods need not be wrapped in a try block or declared in the throws clause of the calling method.
About Question enthuware.ocpjp.v8.2.1283 :
Moderator: admin
-
- Posts: 2
- Joined: Tue Apr 19, 2016 1:54 pm
- Contact:
About Question enthuware.ocpjp.v8.2.1283 :
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1283 :
I am not sure I understand your question. It doesn't say anywhere about what you must do. It says that since readLine and readPassword methods of Console do not declare any checked exceptions, you do not need to wrap the calls to these methods in a try/catch.
-Paul.
-Paul.
-
- Posts: 2
- Joined: Tue Apr 19, 2016 1:54 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1283 :
admin wrote:I am not sure I understand your question. It doesn't say anywhere about what you must do. It says that since readLine and readPassword methods of Console do not declare any checked exceptions, you do not need to wrap the calls to these methods in a try/catch.
-Paul.

Who is online
Users browsing this forum: Bing [Bot] and 12 guests