摘要:
public class Demo05 { public static void main(String[] args) { //操作比较大的时候,注意溢出 //jdk7新特性,数字之间可以用下划线分割 int money = 10_0000_0000; int years = 20; int to 阅读全文
摘要:
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;public class Demo04 { public static void main(String[] args) { int i = 128; double b=i 阅读全文
摘要:
public class Demo02 { public static void main(String[] args) { String a = "hello"; int num = 10; byte num2 = 20; short num3 = 30; long num4 = 30L;//lo 阅读全文
摘要:
public class Demo02 { public static void main(String[] args) { //八大基本数据类型 int num1=10;//最常用 byte num2=20; short num3=30; long num4=30L;//Long类型要在数字后加个 阅读全文