Inner classes may not declare static members, unless they are compile-time constant fields.
Dave
Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!
Originally posted by Paul Anil:
Correct answers are
1. A non static inner class may have static members.
Keep in mind that static final fields ARE obviously static!
.................
Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!
Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!