A) It will not compile because class body of shape is not defined.
B) It will not compile because class body of square is not defined.
C) It will not compile because a class cannot be protectedly inherited from other class.
D) It will not compile successfully.
Correct Answer: D
You need to login to perform this action.
You will be redirected in
3 sec