| Inheriting from Template Class [message #637668] |
Mon, 08 November 2010 04:58 |
SoD Messages: 2 Registered: November 2010 |
Junior Member |
|
|
I have a problem with Java.
I have a template class
public abstract class SumFunction<Y, X>
{
public abstract Y op (Y y, X x);
}
I want to inherit it in a way so I can overload the op function, and multiply an int and a double.
How do I do that? I can't find a way to make a specific class inherit a template class.
|
|
|
Powered by
FUDForum. Page generated in 0.01451 seconds