Respuesta :
The code segment is intended to print a string based on the value of temp.
Option(D) can be used to show that the code does NOT work as intended
What is a string?
A string is typically a series of characters in computer programming, either as a literal constant or as some sort of variable. The latter can either have a set length or allow its elements to be altered.
A String Array is an Array with a predetermined number of String items. Similar to other Array data types, the String Array functions similarly. An example of a string of characters is "Hello World."
To learn more about a string, use the link given
https://brainly.com/question/24275769
#SPJ4