이 기사는 배열에있는 단어를 거꾸로 배열 할 단어를 뒤집어 놓을 것입니다.
프로그램 출력 결과 예 :
첫 번째 :
당신은 몇 살입니까!? 나는 이해가 안 돼요
두 번째 :
Untrond는 그렇지 않습니까?!
예를 들어 코드
public static void main (string [] args) {chars = "당신은 몇 살입니까? (chars); // 주요 방법 System.out.println ( "섹스 :"); 당신은 * @param chars */ public static void Reverseword (chars) (chars, chars.length -1); int i = 0; i <chars.length; <= 'z') || if (i == chars.length-) {reversechars (chars, begin, end);} {if (시작! = -1) {reviewchars (chars, begin, begin, end); end = 0;}}} / *** 특정 범위의 숯의 문자는 예를 들어 hello-> @param chars* @param 시작 위치 위치* @param void reversechars (public static void Reversechars chars, int end) {while> chars [end];위는 말의 순서를 달성하기 위해 Java를 사용하는 것입니다.