l1. Within an
interface:
l interface Foo { const long aLong =
-32; };
lMapped to: public interface Foo {
l public static final int aLong = (int)
–32L; };
l2. Not within
an interface:
l const
string Message=“hello”;
lMapped to: public interface Message {
l public static final String
Message=“hello”; };
l
l
l