About Question enthuware.ocpjp.v8.2.1542 :

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
yassine
Posts: 8
Joined: Thu Dec 07, 2017 4:43 am
Contact:

About Question enthuware.ocpjp.v8.2.1542 :

Post by yassine »

I tried the "correct answer" in eclipse but it doesn't work

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

Re: About Question enthuware.ocpjp.v8.2.1542 :

Post by admin »

What error message did you get?
If you like our products and services, please help us by posting your review here.

lighthesky
Posts: 1
Joined: Wed Jan 23, 2019 2:05 am
Contact:

Re: About Question enthuware.ocpjp.v8.2.1542 :

Post by lighthesky »

Hi,
This question has two correct answers listed:
1.An instance of the nested class can be created from any class using: new TestOuter.TestInner().(Assuming appropriate imports).
2.An instance of the nested class can be created from a class of package mypack using: new TestInner().
Shouldn't the second answer also have the clarification (Assuming appropriate imports).?
Because it does and without them you can't, thus the answer would be incorrect.

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

Re: About Question enthuware.ocpjp.v8.2.1542 :

Post by admin »

You are right. "Assuming appropriate imports" should be mentioned for this option as well. 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 31 guests