Given: (Exhibit) Which two allow a.Main to allocate a new Person? (Choose two.) By Singh | December 31, 2022 0 Comment Given:Which two allow a.Main to allocate a new Person? (Choose two.) A. In Line 1, change the access modifier to publicpublic Person() { B. In Line 2, change the access modifier to protectedprotected class Main { C. In Line 1, change the access modifier to privateprivate Person() { D. In Line 1, remove the access modifierPerson() { E. In Line 2, add extends Person to the Main classpublic class Main extends Person {and change Line 3 to create a new Main objectPerson person = new Main(); Correct Answer: A,E