Originally posted by majohnad majohnad:
1. Property fields in interface are automatically defined as public, static and final.
2. Property fields in interface are automatically defined as static and final only.
3. Properties defined in interface must contain uppercase characters.
4. Interfaces use the keyword implements to ensure multiple inheritance.
5. Classes implementing interface must implement each method defined in the interface.
what are the correct answers?
Originally posted by Ryan Wilson:
Wont the exam explicitly state if the class is abstract?
So in this case option 5 should be correct also?
Howdy, yes the exam *would* explicitly state whether the class is abstract, and the exam would *not* word an answer the way #5 is worded, because that is too ambiguous. We tried very VERY hard with this exam to close off the possibilities for someone to say, "well, based on this premise, that answer IS correct, but based on this other premise, it is NOT correct..."