セクション 2. 章 4
single
Challenge: Array Basics
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
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:"apple", "banana", "cherry". - In the
mainmethod, call thegetWordsmethod and assign the result to a variable.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 4
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください