int类的值可以和double类的值一起运算吗
package com.lx8;
public class Lx {
public static void main(String[] args) {
int a=8;
double b=12.5;
int two=0;
two=a+b;
package com.lx8;
public class Lx {
public static void main(String[] args) {
int a=8;
double b=12.5;
int two=0;
two=a+b;
2019-08-06
举报