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

Compile-time, Run-time & byte codes

 
Sandeep Potnis
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy ?
There have been a lot of posts about compile-time resolution of variables and run-time resolution of overridden methods.
But I'm still confused.
Is there a way to confirm for myself that overridden/hidden/shadowed variables are actually resolved at compile-time ?
How can I use something like javap or some 3rd party utility to see what the compiler has done and what is left for java-runtime ?
Thanks
Sandeep
 
Sandeep Potnis
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out
this article if you want to learn about javap.
rgds
Sandeep
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic