public class Arithmetic
{
 public Integer  firstNo{get;set;}
 public integer secondNo{get;set;}
 public Integer result{get;set;}
 
 public Arithmetic()
 {
  firstNo=0;secondNo=0;
 }
public  Arithmetic(Integer x, Integer y)
 {
  firstNo=x;secondNo=y;
 }
 
 public void add()
 {
   result=firstNo+secondNo;
 
 }
 

}