• Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt regarding one of Ethnuwhere questions?

 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In one of the ethnuware simulators :
The following option is incorrect :

A web application may overide classes in javax.* package.

Why is this option wrong??

A web application can override the HttpServlet class.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess the answer given in the mock is correct. Overriding in javax.* means a webapp will be able to override all the classes in the javax package. Does your webapp or as a matter of fact, any webapp overrides classes in javax.crypto?? or javax.imageio?? or javax.management?? or javax.naming. I guess the answer given by the mock exam is correct.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!