[plt-scheme] Stack Object

From: Paulo Jorge O. C. Matos (pocm at mega.ist.utl.pt)
Date: Tue Oct 15 19:29:54 EDT 2002

Hi all,

What's the difference between a method declared as interface and a 
public method of a given class? As example I'm checking stack class of 
the manual. There are three methods that are declared for the interface: 
push! pop! none?
I though this would be to provide some sort of abstraction layer and 
from here on we would only be able to call these methods but we can also 
call print-name that it is not in the interface. What's the utility of 
an interface?
An example would be great.

Best regards,

-- 
Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
Instituto Superior Tecnico - Lisbon
Software & Computer Engineering - A.I.
  - > http://mega.ist.utl.pt/~pocm
  ---	
	Yes, God had a deadline...
		So, He wrote it all in Lisp!



Posted on the users mailing list.