Which of the following is a correct call to a static method?
A. name.substring(7);
B. Math.pow (3,6);
C. circle.getDiameter();
D. student.setEmail("smith@student.dist221.org");
Answer:A
Which of the following is a correct call to a static method?
A. name.substring(7); B. Math.pow (3,6); C. circle.getDiameter(); D. student.setEmail("smith@student.dist221.org");