The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Interfaces

Advertisement

Advertisement

This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

templates

Posted by Aleksandr on January 22, 2002 at 2:39 PM


There are no templates in java. That's a strictly C++ish concept. The way Java gets around this is that all objects are derived from a common root (java.lang.Object). As such, you can refer to any java object by it's Object handle.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us