public class Conver {
public static void main(String[] args) {
byte mybyte=127;
int myint=150;
float myfloat=452.12f;
char mychar=10;
double mydouble=45.46545;
System.out.println("byte类型和float类型数据进行运算结果为"+mybyte*myint);
System.out.println("byte型与char类型数据进行运算结果为"+mybyte*mychar);
System.out.println("double型与char型数据进行运算结果为"+(mydouble+mychar));
}
public static void main(String[] args) {
byte mybyte=127;
int myint=150;
float myfloat=452.12f;
char mychar=10;
double mydouble=45.46545;
System.out.println("byte类型和float类型数据进行运算结果为"+mybyte*myint);
System.out.println("byte型与char类型数据进行运算结果为"+mybyte*mychar);
System.out.println("double型与char型数据进行运算结果为"+(mydouble+mychar));
}