Challenge: Array Basics
Compito
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.
Soluzione
solution.java
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 4
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Awesome!
Completion rate improved to 7.14
Challenge: Array Basics
Scorri per mostrare il menu
Compito
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.
Soluzione
solution.java
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 4
single