Is there a way to take an existing
simple type like double and extend it?
I would like to add a few methods without
reimplementing all the rest as calls
to a composed one.
public class doubleR extends double
{
// all existing constructors and methods call double
public toRoman()
{
return String roman = "XXIV"; // translation of double
}
}
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---