Why this Java code by clicking on button NUM0-9 doesn't print out the character?
Code:
switch(this.getGameAction(keyCode)){
case Canvas.KEY_NUM2:
System.out.println('A');
break;
case Canvas.KEY_NUM0:
System.out.println('B');
}
Even no Error appears. Why?