Interesting question, I don't think so because every class constructor
needs to be named like the class. So how would you define a constructor
in an interface in this case?:
public class Example implements IExample{
public funtion Example(){
}
}
public class Example2 implements IExample{
public funtion Example2(){
}
}
public interface IExample{
//constructor name?
}
On 8/8/06, Andreas Rønning <[EMAIL PROTECTED]> wrote:
I'm not too familiar with interfaces, but is there a way i can specify
that an implementing class constructor must be structured a specific
way? Such as if its a multiuser app it would require one and only one
argument, being the netconnection instance?
- Andreas
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com