Given the code fragments: (Exhibit) Which modification enables the code to compile? By Singh | January 1, 2023 0 Comment Given the code fragments:Which modification enables the code to compile? A. Replace line n1 with: import p1.*; Replace line n2 with: import p1.p2.*; B. Replace line n1 with: import p1; Replace line n2 with: import p1; import p1.p2; C. Replace line n1 with: import p1.A; Replace line n2 with: import p1.*; D. Replace line n1 with: import p1.A; Replace line n2 with: import p1.A; import p1.p2.B; Correct Answer: A