This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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