• Post Reply Bookmark Topic Watch Topic
  • New Topic

Another mistake in JWeb+ ??

 
See El
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the following question :
-------------------------------------------------
Question ID :1000049375480
Consider the following class:
public class MyHSAListener extends HttpSessionAttributeListener
{
public void attributeAdded(HttpSessionBindingEvent e){ }
public void attributeRemoved(HttpSessionBindingEvent e){ }
}
Which of the following statements are correct?
....
-------------------------------
How come a class - MyHSAListener can extends an interface - HttpSessionAttributeListener ???
And there are more of this kind of mistake in JWeb+ (i.eg. missing semicolon, % etc which are essential in JSP thus cause misleading sometime.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!