Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Names Starting with Letter B | Methods
Java Extended

Challenge: Names Starting with Letter B

Task

You are given an array of names of type String. Your task is to write a sortNamesStartWithLetterB method that will return only the names from this array that starts with the letter B. Don't forget to use the keyword return and utilize String methods.

Everything was clear?

Section 2. Chapter 3
toggle bottom row

Challenge: Names Starting with Letter B

Task

You are given an array of names of type String. Your task is to write a sortNamesStartWithLetterB method that will return only the names from this array that starts with the letter B. Don't forget to use the keyword return and utilize String methods.

Everything was clear?

Section 2. Chapter 3
toggle bottom row
some-alt