The statement that will cause a compile-time error is Parent person = new Child(); person.grade();
A compile-time error is known to be a kind of errors that matches to that of semantics or syntax.
It is often known as Syntax errors and it occurs if the programmer does not use the steps of the syntax in the programming language, due to the above, the compiler will bring out the syntax error.
Learn more about error from
https://brainly.com/question/18497347