【物资分配】管事要将整数类型的货物重量赋值给变量,以下哪种写法正确?
int weight = "150";
int weight = 150;
int weight = 150.5;
int weight = '150';