Given the code fragment:
Which two modifications enable the code to compile?
Make the method at line 8 protected.
Make the method at line 8 public.
Make the method at line 10 protected.
Make the method at line 4 public.
Make the method at line 2 public.
Submit