Difference between "Char" and "String"

Char is a single character, a String is a sequence of characters (possibly just one). In addition, String is an full-blown object, a char primitive data type is just two bytes in unicode.

posted on 2011-06-29 20:11  qih33  阅读(89)  评论(0)    收藏  举报

导航