About Question enthuware.oce-ejbd.v6.2.522 :

Moderator: admin

Post Reply
nikitos
Posts: 20
Joined: Mon Oct 24, 2016 6:55 am
Contact:

About Question enthuware.oce-ejbd.v6.2.522 :

Post by nikitos » Sun Mar 04, 2018 1:25 pm

How is it possible that class implements interface explicitly,
and web service can include class methods and methods of the interface?
I'm little bit confused...
Class must implement all inteface methods in this case as it is not abstract.

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

Re: About Question enthuware.oce-ejbd.v6.2.522 :

Post by admin » Sun Mar 04, 2018 11:38 pm

Really sorry but I did not understand what you are asking. Yes, if a class lists an interface in its implements clause then it must either implement all the method of that interface or declare itself abstract. But I don't see this violated in this question.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests