Limited access

Upgrade to access all content for this subject

Consider the following method:

public class Accountant {

    // instance variables, constructor, other methods not shown

    public static double count(int num)
    {
        // implementation not shown
    }
}

Which of these statements from a different class is valid?

A
int a = Accountant.count(25.50);
B
int a = Accountant.count(25);
C
double a = Accountant.count(25.50);
D
double a = Accountant.count(25);
E
double a = Accountant.count(int 25);
Select an assignment template