Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Filtering Corporate Email Addresses | Fundamentals and Functional Capabilities of Stream API
Introduction to Stream API
セクション 1.  5
single

single

bookChallenge: Filtering Corporate Email Addresses

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

You have a list of employee email addresses, and you need to keep only the corporate emails (those ending with @company.com).

  1. Implement a Predicate to filter corporate emails that end with @company.com.
  2. Pass the correct parameters to the filterEmails method.
  3. In the filterEmails method, iterate through all email addresses using a for-each loop.
  4. Apply the Predicate in the if condition.
  5. Add the matching emails to the new list result.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  5
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt