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"
ERRATA in Standard Tests - Test 1 : Q 27 of 70 Qid enthuware.ocajp.i.v8.2.1199
Moderator: admin
-
- 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
Last edited by admin on Mon Dec 02, 2019 6:49 am, edited 1 time in total.
Reason: Added Qid to subject
Reason: Added Qid to subject
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: ERRATA in Standard Tests - Test 1 : Q 27 of 70
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.
-
- 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
Ok sorry my bad, thanks for answering,
I thought the first "-" was to indicate parameters in java command..
I thought the first "-" was to indicate parameters in java command..
Who is online
Users browsing this forum: Bing [Bot] and 102 guests