The problem is with your static functions. There is no way to have inheritance s with static functions. You should have only a singe static main function is separate cl. In addition you should have 2 cles Parallelpiped and Rectangle without static functions.
No comments:
Post a Comment