About Question enthuware.jwpv6.2.978 :

Moderator: admin

Post Reply
sebastien
Posts: 12
Joined: Tue Mar 26, 2013 2:38 pm
Contact:

About Question enthuware.jwpv6.2.978 :

Post by sebastien »

Hi,

I just checked javadoc and option 2 and 3 should be valid (by now only option 3 is valid)

moreover given the exlanation for option 3
Because it is declared in an interface [javax.servlet.Servlet] and all interface methods are public. You cannot reduce the accessibility of an overriding or implementing method.
httpServlet also implements this interface ... so the service method cannot be protected

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

Re: About Question enthuware.jwpv6.2.978 :

Post by admin »

Option 2 is not declared in Servlet interface. Please check the argument types.
-Paul.
If you like our products and services, please help us by posting your review here.

ramy6_1
Posts: 124
Joined: Wed Feb 12, 2014 2:44 am
Contact:

Re: About Question enthuware.jwpv6.2.978 :

Post by ramy6_1 »

Hello Admin ,

If you checked toughness section for this question , you will find it "Very Easy" !!

I think you need to change this !?

Post Reply

Who is online

Users browsing this forum: No registered users and 76 guests