摘要: 常用类型为:byte,short,int,char,long,boolean,float,double; 其中byte占有1个字节 short,char占有2个字节(在c当中,char是一个字节) int,float占有4个字节 long和double占有8个字节 而一个字节在内存中分配8位,因为在 阅读全文
posted @ 2017-11-24 10:31 fengnian 阅读(484) 评论(0) 推荐(0)