I am wondering since trim() removes starting and ending spaces what is wrong with this alternative
" hello world".trim()
to reach "hello world"
About Question enthuware.ocpjp.i.v11.2.1248 :
Moderator: admin
-
- Posts: 16
- Joined: Mon Sep 30, 2019 11:40 am
- Contact:
-
- Site Admin
- Posts: 10396
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.1248 :
Nothing. It is a correct option.
-
- Posts: 16
- Joined: Mon Sep 30, 2019 11:40 am
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.1248 :
Well, as far as I can see it was pointed as wrong alternative in exam.
-
- Site Admin
- Posts: 10396
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.1248 :
I see it marked as correct. Could you please post a screenshot?
Who is online
Users browsing this forum: No registered users and 6 guests