java - help with trapezium rule - "static problem"


chogo
04-25-2007, 04:45 AM
double SiteDistribution::DoTrap(int qqq, double low, double high, int n, int x)
{
double www, tnm, sum, del, funcLow, funcHigh, funcX;
static double s;
.
.
.
}


My problem is this static double in c++. In java how would i right the same function to do the same thing?

I thank anyone in advance for any help they can provide