Question: In Java programming, Which of the following statements are true? there may be more than one correct option slected from the options below. 1. If
In Java programming, Which of the following statements are true? there may be more than one correct option slected from the options below. 1. If you compile an interface without errors, a .class file is created for the interface.
2. If you compile a class without errors but with warnings, a .class file is created.
3. If you compile a class with errors, a .class file is created for the class.
4. If you compile an interface without errors, but with warnings, a .class file is created for the interface.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
