About Question enthuware.ocpjp.v8.2.1542 :
Moderators: Site Manager, fjwalraven
-
- Posts: 8
- Joined: Thu Dec 07, 2017 4:43 am
- Contact:
About Question enthuware.ocpjp.v8.2.1542 :
I tried the "correct answer" in eclipse but it doesn't work
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1542 :
What error message did you get?
If you like our products and services, please help us by posting your review here.
-
- Posts: 1
- Joined: Wed Jan 23, 2019 2:05 am
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1542 :
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.
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.
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1542 :
You are right. "Assuming appropriate imports" should be mentioned for this option as well. Added.
thank you for your feedback!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 84 guests