Challenge: Array Basics
Swipe to start coding
Implement a method that returns a String array with predefined values. The main method should call this method and assign its return value to a variable. Do not print anything inside the method.
- Define a public static method named
getWordsthat returns aStringarray with several predefined words. - In the
mainmethod, call thegetWordsmethod and assign the result to a variable.
Oplossing
solution.java
Bedankt voor je feedback!
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Awesome!
Completion rate improved to 7.14
Challenge: Array Basics
Veeg om het menu te tonen
Swipe to start coding
Implement a method that returns a String array with predefined values. The main method should call this method and assign its return value to a variable. Do not print anything inside the method.
- Define a public static method named
getWordsthat returns aStringarray with several predefined words. - In the
mainmethod, call thegetWordsmethod and assign the result to a variable.
Oplossing
solution.java
Bedankt voor je feedback!
single