Given the following piece of code:
public class School{ public abstract double numberOfStudent(); }
which of the following statements is true?
A.The keywords public and abstract cannot be used together.
B.The method numberOfStudent() in class School must have a body.
C.You must add a return statement in method numberOfStudent().
D.Class School must be defined abstract.
Answers
Answered by
6
Hii dear here is your answer
option c is the correct answer
Hope it's help u
option c is the correct answer
Hope it's help u
Answered by
0
______✨ HEY MATE ✨_____
➡️Option (C) is the right answer ✔️
➡️Option (C) is the right answer ✔️
Similar questions
History,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
English,
1 year ago
English,
1 year ago