package sihwan.test.sub2

public class Sub2 {
	public Sub2() {
		print();
		work();
	}

	private void print() {
		System.out.println("Sub2");
	}

	void work() {
	}
}


package sihwan.test.sub2

public class Sub2 {
	public Sub2() {
		print();
		work();
		work3();
	}

	private void print() {
		System.out.println("Sub2");
	}

	void work() {
	}

	void work3() {
	}
}



create work2