Page 1 of 1

About Question enthuware.ocpjp.v17.2.3670 :

Posted: Wed Oct 11, 2023 4:59 pm
by Badem48
I am not sure the
""" immediately followed by a new line
is not wrong.
In the Oracle Java documentation https://docs.oracle.com/javase/specs/jl ... jls-3.10.6
The opening delimiter is a sequence that starts with three double quote characters ("""), continues with zero or more space, tab, and form feed characters, and concludes with a line terminator.
So if there is no white space it is still okay.

Thanks

Re: About Question enthuware.ocpjp.v17.2.3670 :

Posted: Thu Oct 12, 2023 11:10 am
by admin
Right, that is why option 3, which says "any number of white spaces" is correct. It includes """ immediately followed by a new line