-1
String[] prompts = {"Describe to me in a sentence why this is a cool program.",
"Describe to me in a sentence how your day was.",
"Describe to me in a sentence what programming means to you.",
"Describe to me in a sentence why food is neccessary for humans."};
System.out.println(prompts);
배열에서 임의의 문자열을 호출하려면 어떻게해야합니까?Java에서 배열의 임의 문자열을 호출하는 방법은 무엇입니까?
매우 감사 무작위로 배열 길이의 범위에 인덱스를 생성 할 필요가! –
@IramShahed이 작품을 수락하십시오 : – yiwei
8 분 안에 할 것입니다. –