누구든지이 프로그램의 작동 방식을 설명 할 수 있습니까?역 문자열 코드는 어떻게 작동합니까?
public static void main(String args[]){
String input ="***NGuyen**Van******A*******";
String result ="";
for(int i = 0 ; i < input.length() ; i++)
{
result = input.charAt(i) + result ;
}
System.out.println(result);
}}
출력 것이다
*******A******naV**neyuGN***
어떤 언어? – PermGenError
자바 언어 11 –