+ 5
Hey I was just practicing java and I got stucked plzz help me!!!
2 Réponses
+ 7
public class hello
{
int sum(int num1,int num2)
{
return num1 + num2;
}
}
public class Program
{
public static void main(String[] args) {
hello e = new hello();
int add= e.sum(5,6);
System.out.println(add);
}
}
//it will work @vaibhav
+ 5
Thanks @Gaurav for your help !!!