Which of the following statements are true?
A. If you compile an interface without errors, a .class file is created for the interface.
B. If you compile a class without errors but with warnings, a .class file is created.
C. If you compile a class with errors, a .class file is created for the class.
D. If you compile an interface without errors, but with warnings, a .class file is created for the interface.
The correct answer is ABD