return p1+p2;
float Ans; Calcs myCalc = new Calcs(); Ans = myCalc.add(10,15); System.out.print("Answer is = " + Ans + '\n");