最新回答 / 菜鸟一名
three = one+two; System.out.println("three=one+two==>"+three); three+=one; System.out.println("three+=one==>"+three); three-=one; System.out.println("three-=one==>"+three); three*=one; Syste...
2016-04-18
最新回答 / 慕粉3201766
<...code...>package bing;public class question { public static void main(String[] args){ int score = 94; String sex = "女"; if(score&0) 80) { if(sex.equals("女"))//错误出在这里,String类型的比较应该...
2016-04-18
最新回答 / 废话达人
2-9内容是Java中的自动类型转换。 自动类型转换时需要满足两个条件的 一:目标类型与源类型兼容。就像double型可以兼容int型,但是 char型并不可以兼容int型二:目标类型要大于源类型如 double 类型长度为 8 字节, int 类型为 4 字节,因此 double 类型的变量里直接可以存放 int 类型的数据,但反过来就不可以了这不是 我总结的 ,我只是知识的搬运工 哈哈哈啊哈哈哈哈哈哈!!
2016-04-17