ERRATA in Standard Tests - Test 1 : Q 27 of 70 Qid enthuware.ocajp.i.v8.2.1199

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
olegaryto
Posts: 2
Joined: Mon Dec 02, 2019 5:56 am
Contact:

ERRATA in Standard Tests - Test 1 : Q 27 of 70 Qid enthuware.ocajp.i.v8.2.1199

Post by olegaryto »

link to image https://prnt.sc/q4zfww
str is equal to -0.50 so
In fact str.substring(1, str.length()-1) returns 0.50 not -0.50, so the correct answer would be "World"
Last edited by admin on Mon Dec 02, 2019 6:49 am, edited 1 time in total.
Reason: Added Qid to subject

admin
Site Admin
Posts: 10061
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: ERRATA in Standard Tests - Test 1 : Q 27 of 70

Post by admin »

Please read the problem statement carefully. Check the command line argument. As per the problem statement, it is --0.50 and not -0.50
If you like our products and services, please help us by posting your review here.

olegaryto
Posts: 2
Joined: Mon Dec 02, 2019 5:56 am
Contact:

Re: ERRATA in Standard Tests - Test 1 : Q 27 of 70 Qid enthuware.ocajp.i.v8.2.1199

Post by olegaryto »

Ok sorry my bad, thanks for answering,
I thought the first "-" was to indicate parameters in java command..

Post Reply

Who is online

Users browsing this forum: No registered users and 122 guests