Test

Test

Test

  • hk1v
  • 2013/8/29 23:09
  • タグ:
  • タグはありません
class Hello {
	public static void main(String[] args) {
		Test t = new Test();
		t.SetVal(1000);
		System.out.println(t.GetVal());
	}
}

class Test {
	private int val;
	public void SetVal(int p1){
		val = p1;
	}
	public int GetVal(){
		return val;
	}
}