File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Compile-time, Run-time & byte codes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Compile-time, Run-time & byte codes" Watch "Compile-time, Run-time & byte codes" New topic

Compile-time, Run-time & byte codes

Sandeep Potnis
Ranch Hand

Joined: Aug 18, 2000
Posts: 39
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 ?
Sandeep Potnis
Ranch Hand

Joined: Aug 18, 2000
Posts: 39
Check out
this article if you want to learn about javap.
I agree. Here's the link:
subject: Compile-time, Run-time & byte codes
Similar Threads
Inheritance Doubt
Overloaded Methods in Java are early binded or late binded
Covariant Return Types
Overridding Pls Explain this code