Book now with code EOY2025
class Test { [B][I]static [/I]class Foo { public int i = 3; }[/B] public static void main(String args[]) { Object o = (Object)new Foo(); Foo foo = (Foo)o; System.out.println("i = " + foo.i); } }
Use code EOY2025 to receive $250 off your 2025 certification boot camp!