Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
hibernate left join not working
composite-id Query
can we say an interface is an abstract class?
Regarding session.load()
Customizing Y Axis in JFreechart