Page 1 of 1
About Question enthuware.ocpjp.i.v11.2.1248 :
Posted: Fri Dec 13, 2019 11:17 am
by demetrio
I am wondering since trim() removes starting and ending spaces what is wrong with this alternative
" hello world".trim()
to reach "hello world"
Re: About Question enthuware.ocpjp.i.v11.2.1248 :
Posted: Fri Dec 13, 2019 11:47 am
by admin
Nothing. It is a correct option.
Re: About Question enthuware.ocpjp.i.v11.2.1248 :
Posted: Fri Dec 13, 2019 12:04 pm
by demetrio
Well, as far as I can see it was pointed as wrong alternative in exam.
Re: About Question enthuware.ocpjp.i.v11.2.1248 :
Posted: Fri Dec 13, 2019 1:37 pm
by admin
I see it marked as correct. Could you please post a screenshot?