Problem
"names" is a partially filled array of Strings: names[0..n] contain Strings but names[n+1..size of the array - 1] are null. Write a loop that prints the Strings to the console but loop stops at the first null. Write a loop that prints the Strings to the console but loop stops at the first null.