import java.lang.Integer; class Methods { m(a,b){ var c=a+b; return c; } method2(x){ Integer i = this.m(x,2); return i; } }