Q. Given the following piece of code:
public class School{
public abstract double numberOfStudent();
}
which of the following statements is true?
public class School{
public abstract double numberOfStudent();
}
which of the following statements is true?
β
Correct Answer: (D)
Class School must be defined abstract.