セクション 2. 章 3
single
Challenge: Factory Product Filtering
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
The factory produces products represented by Product objects, which have the fields id, weight, and quality.
- Filter the products to keep only those with a
qualityof"GOOD"and aweightgreater than 10.0. - Extract only the
idof the filtered products using a method reference. - Once the result is collected into a list, print the
idof the selected products using a method reference toprintln.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 3
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください