I have creation a class InformationProcess1 with the method below :
public InformationProcess1(String instance) {
this.jiffiesUserMode = 0;
this.percentageUserProcess = 0;
this.jiffiesSystemMode = 0;
this.percentageSystemProcess = 0;
this.virtualMemorySize = 0;
this.residentMemorySize = 0;
this.meterThreads = 0;
this.percentageCPUProcess = 0;
this.instance = instance;
}
But when compiled, an error message pops up saying :
Invalid method declaration. Return type required.
Why is this and how do I resolve it?