Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Naveen Raja
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic