-1Which of the following is a correct interface?Ainterface A { void print() { } }Babstract interface A { print(); }Cabstract interface A { abstract void print(); { }}Dinterface A { void print(); } Correct answer: D Join the discussion Report an error Share