The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Interfaces



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.


C++ish concept

Posted by emad on February 14, 2002 at 10:42 AM

> 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.

so sorry to inform u that the so labelled C++ish concept is now being seriously considered for java language. the notion of templates is an implementation of Generic programming a well documented study in OO tech.
not much strictly C++ish concept i'd say;-)


Sponsored Links

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