1 // Test to make sure a string constant is correctly initialized.
3 import java
.lang
.reflect
.*;
5 public class stringconst2
7 public static final String q
= "zardoz";
9 public static void main (String
[] args
)
13 Class k
= Class
.forName ("stringconst2");
14 Field f
= k
.getField ("q");
15 System
.out
.println (f
.get (null));