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

Moderator: admin

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

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.

Site Admin
Posts: 7593
Joined: Fri Sep 10, 2010 9:26 pm

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.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests