shambhavi sham wrote:
line 11 shows an error, but if final keyword is added to this line it compiles. so it is clear that the compile time constants are being considered here at compile time. so thats what i was asking actually.
Hate to point this out, but isn't that obvious?
Of course, compile time constants are used at compile time. That's why they are called compile time constants...
Henry