Hi,
I know java does not allow multiple inheritance, but I
gave that example so i can make it clear what i want
to do,
So i want to find out a work around to achieve what i
have explanned in the example
Ashish
--- Jacob Hookom <[EMAIL PROTECTED]> wrote:
> I'm going to save you from getting flamed.... java
> does not allow multiple
> inheritance.  You can only extend from a single
> Object.
> 
> -Jacob
> 
> | -----Original Message-----
> | From: Ashish Kulkarni
> [mailto:[EMAIL PROTECTED]]
> | Sent: Friday, January 31, 2003 9:34 AM
> | To: [EMAIL PROTECTED]
> | Subject: one desing question, Revisited
> | 
> | Hi,
> | 
> | When i was thinking about my problem, I think what
> i
> | want to do in multiple inhereteance
> | I want to define a class called CommonFunctions ,
> this
> | call will have methods which are common, (As name
> | suggest)
> | now i have to do some thing like
> | public class MyAction extends Action,
> CommonFuntions
> | 
> | and public class MyDisptachAction extends
> | DispatchAction, CommonFuntions
> | 
> | By doing this i will be able to access all the
> methods
> | in the class which sybclasses MyAction or
> | MyDispatchAction
> | I know the code above is not possible to do, but i
> | want to do some thing like that..
> | So what are the ways of achieving it
> | 
> | =====
> | A$HI$H
> | 
> | __________________________________________________
> | Do you Yahoo!?
> | Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> | http://mailplus.yahoo.com
> | 
> |
>
---------------------------------------------------------------------
> | To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> | For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


=====
A$HI$H

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to