Question: abstract class Planet t protected void revolve O abstract void rotate ) class Earth extends Planet ( void revolve ) ( protected void rotate Which

abstract class Planet t protected void revolve O abstract void rotate ) class Earth extends Planet ( void revolve ) ( protected void rotate Which two modifications, made independently, enable the code to compile? A Make the method at line n1 public. B. Make the method at line n2 public. C. Make the method at line n3 public. D. Make the method at line n3 protected. E. Make the method at line n4 public
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
