Adicionando 2 variável em java
public class sum{
Public static void main(String args[]){
int x=5;
int y=10;
int sum= x+y;
System.out.println("addition of x and y= "+sum);
}
}
Comfortable Capuchin