You should add the static keyword in the place of ? in Line ________ in the following code:
1 public class Test { 2 private int age; 3 4 public ? int square(int n) { 5 return n * n; 6 } 7 8 public ? int getAge() { 9 } 10}
in line 4
in line 8
in both line 4 and line 8
none