Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why ActionForm is class not interface?

 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Can somebody tell me why ActionForm is a class not an interface?

I could have made it an interface and the corresponding implementing class and can use that.

Thanks & regards,

Kousik
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can only speculate at the intentions of the developers (you could always search the developer mailing lists) but what jumps out at me is that it declares instance variables and methods that do things. One can't do that with an interface.
[ May 28, 2008: Message edited by: Joe Ess ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic