aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs187/307147/Test.java
blob: 25b4eef4d224244fd72d956ccc96e895dcd3e03f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package test;

public class Test {

	public Test() {
	}
	
	public static void main(String[] args) {
		Test t = new Test();
		t.function();
		t.itdFunction();
	}
	
	public void function() {
		System.out.println("Normal function");
		privateMethod();
		publicMethod();
	}
	
	private void privateMethod() {
		System.out.println("private method");
	}
	
	public void publicMethod() {
		System.out.println("public method");
	}

}