jQuery in Action, 2nd edition
The moose likes Java in General and the fly likes How   final var or constant exp are evaluated...?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How   final var or constant exp are evaluated...??" Watch "How   final var or constant exp are evaluated...??" New topic
Author

How final var or constant exp are evaluated...??

Naveen Raja
Greenhorn

Joined: Jul 28, 2006
Posts: 10
Hi,

As for i know , constant expressions are evaluated at compile time..but i am not sure about FINAL var...Whether compiler do this or JVM..?

Thank you very much.

Naveen.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How final var or constant exp are evaluated...??