Meaningless Drivel is fun!
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Core Java Query & Struts Query" Watch "Core Java Query & Struts Query" New topic

Core Java Query & Struts Query

Ggaurav Gupta

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

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.
David Newton

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:
subject: Core Java Query & Struts Query
It's not a secret anymore!