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
M.Komarov
Posts: 17 Joined: Fri Sep 06, 2013 1:37 am
Contact:
Post
by M.Komarov » Sun Mar 23, 2014 12:00 am
Hi!
Is it necessary to add the semicolon in the end of the line before line //2:
public enum EnumB{ B, BB, BBB
public Object clone(Object o){ return B; } //2
};
? Or add the explanation of the second compile time error to the option 2?
admin
Site Admin
Posts: 10389 Joined: Fri Sep 10, 2010 9:26 pm
Contact:
Post
by admin » Sun Mar 23, 2014 12:06 am
Semi-colon is fine. It is not necessary, but it is not an error either.
M.Komarov
Posts: 17 Joined: Fri Sep 06, 2013 1:37 am
Contact:
Post
by M.Komarov » Sun Mar 23, 2014 12:49 am
I mean before line //2, i.e. after "BBB". My compiler says ',','}', or ';' expected (if I rename clone to something else).
admin
Site Admin
Posts: 10389 Joined: Fri Sep 10, 2010 9:26 pm
Contact:
Post
by admin » Sun Mar 23, 2014 2:56 am
I see. Yes, it should be there. Fixed.
thank you for your feedback!
Crashtest
Posts: 18 Joined: Fri May 31, 2013 1:18 pm
Contact:
Post
by Crashtest » Thu May 29, 2014 11:31 am
Just so you know ";" is still missing in the code as per above posts.
I have downloaded the latest questions set less than two weeks ago...
admin
Site Admin
Posts: 10389 Joined: Fri Sep 10, 2010 9:26 pm
Contact:
Post
by admin » Thu May 29, 2014 8:46 pm
Definitely fixed in version 1.74. Please download the question bank again.
HTH,
Paul.
Users browsing this forum: No registered users and 17 guests