Casting / Inheritance Problem

Jeff Sturm jsturm@sigma6.com
Sat Apr 1 00:00:00 GMT 2000


On 2000年1月16日, Jon Beniston wrote:
> Object o = System.getSecurityManager();
>> Test.java:7: Incompatible type for declaration. Can't convert
> `java.lang.SecurityManager' to `java.lang.Object'.
> Object o = System.getSecurityManager();

I don't have that problem. What compiler are you using? A snapshot?
--
Jeff Sturm
jsturm@sigma6.com


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /