enthuware.ocpjp.v7.2.1295

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
NandaMin
Posts: 2
Joined: Sun Feb 01, 2015 5:27 am
Contact:

enthuware.ocpjp.v7.2.1295

Post by NandaMin »

I choose last two options
- It will print : Helped : John
- It will print : Helped : Pope

Enthuware test agine answer
- It will print :
Helped : Pope
Helped : John

- It will compile with a warning.


And I run on netbeans without warning as followed

run:
Helped : Pope
Helped : John
BUILD SUCCESSFUL (total time: 5 seconds)

I found below dicussion regarding this issue here

http://www.enthuware.com/forum/viewtopi ... =38&t=1757
Hi,
I feel the last 2 options are correct and not the first 2. As the helpPeople() has
System.out.println("Helped : " + p + " ");
so every o/p is on a new line.
thanks!
You are right. The first option is modified to show the output in two lines to avoid this confusion.

thank you for your feedback!
Paul.
Please advise.

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

Re: enthuware.ocpjp.v7.2.1295

Post by admin »

The option says it will compile with a warning and not run with a warning, which is correct.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

Alexey Berezkin
Posts: 20
Joined: Fri Jun 19, 2015 9:17 am
Contact:

Re: enthuware.ocpjp.v7.2.1295

Post by Alexey Berezkin »

Hi,

Please add newlines to 5th option
It will print : Helped : John Helped : Pope
otherwise it's obviously incorrect.

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

Re: enthuware.ocpjp.v7.2.1295

Post by admin »

Added.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests