About Question enthuware.ocpjp.i.v11.2.3044 :
Moderator: admin
-
- Posts: 5
- Joined: Sat Dec 28, 2019 8:34 am
- Contact:
About Question enthuware.ocpjp.i.v11.2.3044 :
Hi, in my opinion the fourth option should be correct, because the @Override anotation should be when the method correctly overrides some other method, but in this case the method is not correctly overriding some other method.
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3044 :
I see your point but even if you remove @override, the code will still not compile. But if you fix the access modifier of the subclass method, then it will compile. This means, the @Override is not the problem here. Since you have to select only 1 option, option 2 is best.
-
- Posts: 5
- Joined: Sat Dec 28, 2019 8:34 am
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3044 :
I see your point but i was using the option to not know the amount of correct options to check. I will take what you said in consideration. Thank you.
Who is online
Users browsing this forum: No registered users and 6 guests