上机练习4

4、给定一个任意的大写字母A ~Z, 转换为小写字母。 (知识点:变量和运算符) [选做题]
public
class t3 { public static void main(String[] args) { // TODO Auto-generated method stub char i = 'A'; System.out.println((char) (i + 32)); } }

原文地址:https://www.cnblogs.com/zhangjun19991118/p/12522981.html