Page 1 of 1

About Question com.enthuware.ets.scjp.v6.2.228 :

Posted: Fri Jan 24, 2014 4:47 am
by devlam
Although all methods shown won't compile because of the ... I find it confusing that there is the statement.
Socket s = //open socket;

Re: About Question com.enthuware.ets.scjp.v6.2.228 :

Posted: Fri Jan 24, 2014 6:00 am
by admin
The question asks you to pick valid usages of assertion based on the information given in the code. The code snippets given are not meant to be compiled. The statement you have mentioned has now been changed to //valid code that opens a socket here.

thank you for your feedback!