I wanted your suggestions regarding Java classes.Actually the
program includes a static variable p of 'Parameter' type and
'p.add(getTickCount())' is called.The Method getTickCount is a
non-static method of package 'uchicago.src.sim.engine.SimModel '.Here
SimModel is an interface and getickCount()is a method.To get more
details about it ,please refer
Now the problem is,it is showing error
"non-static method cannot be referenced by a static object"
So how am I supposed to refer the method using a static object.
I am looking forward for your suggestions.