Talk:Define a primitive data type

From Rosetta Code
Revision as of 16:32, 1 March 2009 by rosettacode>ShinTakezou (java is marked incorrect. thinking about it)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Couldn't a class be considered primitive type (?) in Java? Or anyway, for languages like Java (Python could be another one?) the only (at least I can't see another one) way of defining a "data types" with an "active behaviour" (data+code...) is to "encapsulate" the whole stuff into a class... --ShinTakezou 16:32, 1 March 2009 (UTC)