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.
Solução
solution.java
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
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
Deslize para mostrar o menu
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.
Solução
solution.java
Obrigado pelo seu feedback!
single