public class NewTest {
	String str = new String("good");
	char[] c = {'a','b','c'};
	public static void main(String[] args) {
		NewTest nt = new NewTest();
		nt.change(nt.str, nt.c);
		System.out.print(nt.str + " and ");
		System.out.println(nt.c);
		
		short s = Short.MAX_VALUE;
		System.out.println(s);
	}
	
	private void change(String str,char ch[]){
		str = "test ok";
		ch[0] = 'g';
	}
	
}
运行结果是
good and gbc
32767
1.简述Android应用程序结构是哪些? (以下是
我自己认为的答案,非标准,也不知道对错)
  丰富而又可扩展的视图(Views),可以用来构建应用程序, 它包括列表(lists),网格(grids),文本框(text boxes),按钮(buttons), 甚至可嵌入的web浏览器。 
  内容提供器(Content Providers)使得应用程序可以访问另一个应用程序的数据(如联系人数据库), 或者共享它们自己的数据 
  资源管理器(Resource Manager)提供 非代码资源的访问,如本地字符串,图形,和布局文件( layout 
files )。 
  通知管理器 (Notification Manager) 使得应用程序可以在状态栏中显示
自定义的提示信息。 
  活动管理器( Activity Manager) 用来管理应用程序生命周期并提供常用的导航回退功能。