19 lines
523 B
Java
Raw Normal View History

2015-09-07 11:44:36 -06:00
// typeinfo/packageaccess/HiddenC.java
2015-06-15 17:47:35 -07:00
// <20>2015 MindView LLC: see Copyright.txt
package typeinfo.packageaccess;
import typeinfo.interfacea.*;
import static com.mindviewinc.util.Print.*;
class C implements A {
@Override
public void f() { print("public C.f()"); }
public void g() { print("public C.g()"); }
void u() { print("package C.u()"); }
protected void v() { print("protected C.v()"); }
private void w() { print("private C.w()"); }
}
public class HiddenC {
public static A makeA() { return new C(); }
2015-09-07 11:44:36 -06:00
}