摘要:
package com.ding.operator; public class Demo07 { public static void main(String[] args) { int a = 10; int b = 20; a+=b;//a = a+b a-=b;//a = a-b System 阅读全文
摘要:
变量 public class Demo05 { //属性:变量 //实例变量:从属于对象;如果不自行出事化,这个类型的默认值 0 0.0 //布尔值:默认是false //除了基本类型,其余的默认值都是null String namo; int age; //main方法 public stat 阅读全文
摘要:
public class Demo03 { public static void main(String[] args) { //整数拓展: 进制 二进制 八进制0 十进制 十六进制0x int i = 10; int i2 = 010;//八进制0 int i3 = 0x10;//十六进制0x 0 阅读全文