a
JG. Write a class Multiply, which has method to accept an object of class Test, and
number. The method should multiply the data members of Test by that number,
Display the values of data members of Test before and after call to the method.
public class Test{
private int test1;
private int test2;
public Test(int t1, int t2)
{
test1 = t1;
test2 = t2;
}
}
Answers
Answered by
3
hello I am bunny
Answered by
2
Answer:
multiplication
Explanation:
Similar questions