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
entitybean
Posts: 12 Joined: Mon Apr 03, 2017 6:08 am
Contact:
Post
by entitybean » Mon Jun 24, 2019 2:19 pm
Are you sure the given options show the right notation for content of a module-info?
I think this is right (inside module-info.java file):
Code: Select all
module <name of module goes here> {
exports com.abc.account;
}
I have checked several books and official online docs (e.g.
https://openjdk.java.net/projects/jigsaw/quick-start ), I have NEVER seen the content in the form given in this question:
Code: Select all
module-info {
exports com.abc.account;
}
I think NONE of the given answers are valid module-info.java files.
Online
admin
Site Admin
Posts: 10388 Joined: Fri Sep 10, 2010 9:26 pm
Contact:
Post
by admin » Mon Jun 24, 2019 9:39 pm
You are right. I checked all other module questions and another question 2.3431 also had this error. All others are correct.
We apologize for the error and would like to refund your order. Kindly PM or email us your orderid.
thank you for your feedback!
Paul.
entitybean
Posts: 12 Joined: Mon Apr 03, 2017 6:08 am
Contact:
Post
by entitybean » Tue Jun 25, 2019 3:00 pm
Thank you! No need for a refund. I'm happy to help (... and learn)!
Online
admin
Site Admin
Posts: 10388 Joined: Fri Sep 10, 2010 9:26 pm
Contact:
Post
by admin » Tue Jun 25, 2019 8:56 pm
Thank you for your consideration.
radupana
Posts: 28 Joined: Fri Feb 09, 2018 11:50 am
Contact:
Post
by radupana » Sun Jun 30, 2019 5:56 am
Hi,
One more point on this question; The package should be com.abc.accounts instead of com.abc.account, right?
Regards,
Radu
Online
admin
Site Admin
Posts: 10388 Joined: Fri Sep 10, 2010 9:26 pm
Contact:
Post
by admin » Sun Jun 30, 2019 9:11 pm
radupana wrote: ↑ Sun Jun 30, 2019 5:56 am
One more point on this question; The package should be com.abc.accounts instead of com.abc.account, right?
Correct.
Users browsing this forum: No registered users and 6 guests