Question about newbies and interfaces
From: Joona I Palaste (palaste_at_cc.helsinki.fi)
Date: 11/30/03
- Next message: Joe Randstein: "Re: JSP: new Session created on every access of page"
- Previous message: pete kirkham: "Re: Solving Lazy Initialization and double checked locking problem"
- Next in thread: Bjorn Abelli: "Re: Question about newbies and interfaces"
- Reply: Bjorn Abelli: "Re: Question about newbies and interfaces"
- Reply: Chris Uppal: "Re: Question about newbies and interfaces"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Nov 2003 13:36:37 GMT
Many newbies seem to think that variables, whose type is an interface,
not a class, can't hold references to objects with a concrete
implementation. This is of course not true, but this is not what I am
writing about. If it *were* true, then what point do the newbies think
there would *be* to interfaces at all? I'm curious to hear this.
-- /-- Joona Palaste (palaste@cc.helsinki.fi) ------------- Finland --------\ \-- http://www.helsinki.fi/~palaste --------------------- rules! --------/ "All that flower power is no match for my glower power!" - Montgomery Burns
- Next message: Joe Randstein: "Re: JSP: new Session created on every access of page"
- Previous message: pete kirkham: "Re: Solving Lazy Initialization and double checked locking problem"
- Next in thread: Bjorn Abelli: "Re: Question about newbies and interfaces"
- Reply: Bjorn Abelli: "Re: Question about newbies and interfaces"
- Reply: Chris Uppal: "Re: Question about newbies and interfaces"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]