The String class

As with all other Java object types, java.lang.String is mapped to a proxy class, java_lang_String. This proxy class has a few special features:

To pass a String constant in a parameter of type Object, you can use an explicit String constructor, as illustrated in the following code segment:

java_util_HashMap map = new_java_util_HashMap();
map.put(String("abc"), String("xyz"));