Menu

#3 ACI's do not compile when not in a package

v1.0_(example)
open
nobody
Compiler (7)
5
2004-03-03
2004-03-03
Papegaaij
No

When the package declaration is removed from the
Pricing.java file from the example, the compile gives the
following error message:
Pricing.java:7: error:Type "/Pricing$Item" named in
extends/implements clause is not an interface type [JLS
8.1.4, 9.1.2]

Discussion


Log in to post a comment.

MongoDB Logo MongoDB