Consider the following class:
public class myClass
{
private static double rate=4;
private int principal, time;
public void findInteest( )
{
double interest = (principal * time * rate) / 100;
System.out.println(“Simple Interest = “+interest);
}
}
(i) Name the variable that is common to all objects of the class.
(ii) Name the variable that is local to find Interest method.
Answers
Answered by
5
Answer:
7tx6rzr6xr7zyi otxtixotxtixtxt7c8t
Similar questions