摘要:
Intent 跳转显示跳转(用类名跳转)Intent i = new Intent(a.this,b.class);隐士跳转自定义Action系统Action//拨打电话Uri uri = Url.parse("tel:1212121");Intent it = new Intent(Intent.ACTION_CALL,uri); 阅读全文
摘要:
public class Demo13627 { static int x =2;//静态变量 public static void main(String[] args) { int x=2;//局部变量 Demo13627 b = new Demo13627(); b.go(x); } static {//静态代码块 x+=x; } {//初始化块 System.out.println("初始化块"); } void go (int x ){//构造器 ++x; System.out.println(x);//此处的x 并非 静态变量x } }//程序运行的顺序是 : 阅读全文