← Back to feed
Renewal·서른의 생활코딩

ex4) java

NS
normalstory
cover image

public class Chartest {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
char A;
A = 'a';
System.out.println("A="+A);
System.out.println("A="+(int)A);  // explicit type cast (prints the code value)
}

}

This English version was translated by Codex.

친절한 찰쓰씨
Written by
친절한 찰쓰씨

Pleasant Charles — UI/UX researcher at AIT. Keeping notes on design, planning, and slow days here since 2010.