File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Core Java Query & Struts Query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Core Java Query & Struts Query" Watch "Core Java Query & Struts Query" New topic
Author

Core Java Query & Struts Query

Ggaurav Gupta
Greenhorn

Joined: Mar 26, 2010
Posts: 9
Hi i want to know the following Questions

Can a class etends interface

can a class implements another class


Diffrence between various form beans in struts1

ActionForm , ValidatroForm , ValidatorActionForm
vijay raghuvanshi
Greenhorn

Joined: Nov 05, 2008
Posts: 5
Hi Ggaurav,
Here is the answer your first two questions. I do not hav much idea about Struts.
1. In java a Class always inherit an interface only by using 'implements' keyword not by 'extends'.
2. A class always inherit another class only by using 'extends' keyowrd.
But if an Interface wants to inherit another interface then use 'extends'

Hope it answer your query.
Thanks!!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please ask your Struts questions in the Struts forum.

The answer lies in the documentation--consider reading it first, then asking specific questions.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Core Java Query & Struts Query