Computer Science, asked by rishabhrastogi0201, 19 days ago

Write a class Multiply,which has method to accept an object of class Test, & 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 ansteinss19
0

Answer:

tidiness cucumber fifth dictum civ

Explanation:

Dudbridge

Similar questions