import java.lang.*;
class Addition
{
void display(int a, int b)
{
int c=a+b;
System.out.println("The sum of " + a + " and " + b + " is= " + c);
}
void display(double a,double b)
{
double c=a+b;
System.out.println("The sum of " + a + " and " + b + " is= " +c);
}
}
class Addition1
{
public static void main(String args[])
{
Addition obj=new Addition();
obj.display(10,20);
obj.display(10.2,20.2);
}
}
class Addition
{
void display(int a, int b)
{
int c=a+b;
System.out.println("The sum of " + a + " and " + b + " is= " + c);
}
void display(double a,double b)
{
double c=a+b;
System.out.println("The sum of " + a + " and " + b + " is= " +c);
}
}
class Addition1
{
public static void main(String args[])
{
Addition obj=new Addition();
obj.display(10,20);
obj.display(10.2,20.2);
}
}