package test; public class Sub extends Super { public String resolved() { return "Sub"; } }