Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Gin Tanaka   on Jul 10 In Java Category.

  
Question Answered By: Edfu Massri   on Jul 10

1. the first include is a static include (ie it always includes the same
file) the second is dynamic (ie you can change what gets included at
runtime - say by evaluating some condition to determion which file you
want to include)

2. much the same really - you would use the interface if your class
already extended something else (interfaces are java's way of doing
mutiple inheritance of a sort)

3. HttpServlet adds Http specific stuff - it's what you would use most
of the time.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 


Tagged: