作者: heima0503 时间: 2015-5-23 01:07
这是我的见解作者: !85684009ex 时间: 2015-5-23 21:46
膜拜!都做到这一步了!作者: pvbj0314 时间: 2015-5-23 23:20
神奇,居然可以通过编译。在The Java® Language Specification中找到下面这句话
“Letters and digits may be drawn from the entire Unicode character set, which supports most writing scripts in use in the world today, including the large sets for Chinese, Japanese, and Korean. This allows programmers to use identifiers in their programs that are written in their native languages.”
但这与一般编程规范冲突,个人觉得目前知道有这个东西就好了,其实汉字有时也挺麻烦的,Windows上每次编译有汉字的java文件时都要加上-encoding utf-8选项才行(文件是utf-8编码的)。作者: 白水丶 时间: 2015-5-23 23:47
都看看晕了作者: niuapp 时间: 2015-5-23 23:56
好有亲切感,作者: 二大爷 时间: 2015-5-24 00:02
这是不允许的