Computer Science, asked by erkbrawlstars, 26 days ago

10. Write a class Multiply, which has method to accept an object of class Test, and a
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 fatemamaad
0

Answer:

i dont know

Explanation:

plz forgive me

Similar questions