본문 바로가기
study/Java

[Java] 18. TEST1 (소문자로 이루어진 문자열의 알파벳의 사용 횟수를 출력하기)

by 금이패런츠 2022. 3. 17.
728x90
반응형
package chap6;
/*
  		String str = 
  "it is possible to draw a parallel between their experience and ours";
  소문자로 이루어진 문자열의 알파벳의 사용 횟수를 출력하기
  [결과]
  a:5개
  b:2개
  c:1개
  d:2개
  ...

 */
public class Test0310_1 {
	public static void main(String[] args) {
    
		String str = "it is possible to draw a parallel between their experience and ours";

	}
}
728x90
반응형