assume that names is an array of strings that has already been declared and initialized. also assume that hasempty is a boolean variable that has been declared. write the statements needed to determine whether any of the array elements are equal to null or refer to an empty string. set the variable hasempty to true if any elements are equal to null or refer to an empty string. otherwise set hasempty to false.