このスレッドは、Sun認定Java資格の Sun Certified Programmer for Java 2 Platform 5.0 Sun Certified Programmer for the Java 2 Platform 1.4 Sun Certified Programmer for the Java 2 Platform 1.2
どなたかJava2問題集の 106,108ページの違いを教えてください・・・。 class Super{} class Sub extends Super {} Super sps = new Sub(); Sub sbs = (Sub)sps; はOKで、 Super[] sps = {new Sub(),new Sub(),new Sub()}; Sub[] sbs = (Sub[])sps; がNGなのか、ちんぷんかんぷんです。 明日2回目の試験なのに・・・orz