Which of the following statements about nested classes are correct? (Choose three.) A. An anonymous class can
Question:
Which of the following statements about nested classes are correct? (Choose three.)
A. An anonymous class can declare that it implements multiple interfaces.
B. All nested classes can contain constant variables.
C. A local class can declare that it implements multiple interfaces.
D. A member inner class can contain static methods.
E. A static nested class can contain static methods.
F. A local class can access all local variables prior to its declaration within a method.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
OCP Oracle Certified Professional Java SE 11 Developer Practice Tests Exam 1Z0 819 And Upgrade Exam 1Z0 817
ISBN: 9781119696131
1st Edition
Authors: Scott Selikoff, Jeanne Boyarsky
Question Posted: