✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
What is the result of the following code?
1: public class VisitPark {
2: enum AnimalsInPark {
3: SQUIRREL, CHIPMUNK, SPARROW;
4: }
5: public static void main(String[] args) {
6: AnimalsInPark[] animals = AnimalsInPark.values();
7: System.out.println(animals[1]);
8: } }