/* Code in der Datei Test03.java */ class Testit{ public A v; public void set(A v){ this.v=v; } } public class Test03{ public static void main(String[] args){ Testit t = new Testit(); // oder auch new Testit() t.v = Boolean.TRUE; t.set(Boolean.TRUE); } } /* Ausgabe des Compilers: * Test03.java:9: warning: unchecked assignment to variable v of raw type * class Testit * t.v = Boolean.TRUE; * ^ * Test03.java:10: warning: unchecked call to set(A) as a member of the raw * type Testit * t.set(Boolean.TRUE); * ^ * 2 warnings */