SIFI : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

SIFI
SIFI (Separating Interface From Implementation). In C++ you specify how to use your program in a separate file *.hpp from where you define how the code works *.cpp. In Java, you put all the information in one file *.java, but Javadoc splits it out for you and the compiler uses the separate *.class file headers to figure out how code should be called. Ironically, Java actually provides much greater isolation for how a method is called from how it is implemented, since in Java, the absolute offsets are not computed until the program is run. In C++ they are computed at compile/link time. This isolation means Java does not need to recompile as frequently, e.g. when a private method is added to some class the caller uses.

This page is posted
on the web at:

http://mindprod.com/jgloss/sifi.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\sifi.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[54.197.124.106]
You are visitor number