I have declared a variable to be a constant like this:
public class example
public static final String str="Hello";
public static void main......
This sounds really strange but I am able to change str in the main program. I thought final makes a variable const