public class TestImpl {
    public static void main(String[] args) {
        HelloImpl h1 = new HelloImpl(), h2 = h1;
        h1.message = "holla";
        System.out.println(h2.sayHello());
    }
}
interface Hello {
    String sayHello();
}
class HelloImpl implements Hello {
    static String message = "Hello";
    String sayHello() {
        return message;
    }
}
I get "attempting to assign weaker privilegies."
 
     
    