1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Java

Connected

Exercise

All the winners

When working with collections of data, you often need to know how many items you're dealing with. Arrays provide a simple way to check their size, which is essential for processing, validation, and reporting. Let's measure your collection of Nobel laureates!

Instructions

100 XP
  • Print the length of literatureLaureates and chemistryLaureates arrays.