aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test1/Pac.java
blob: 3e99596a5ae7724b1240bb0e46f478a8967dfc4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package test1;

class Pac2 {
    int p, q;
}

public class Pac {
    int x;
    public int run() {
        Class c = Pac2.class;
        Package p = c.getPackage();
        System.out.println(p);
        return p == null ? 0 : 1;
    }
}