Wednesday, 14 August 2013

Newbie : Imports in Java

Newbie : Imports in Java

I have read that unlike C/C++, when we "import" packages they actually
don't get added(they get referred instead of getting embedded) to the
class file.
What are the performance implications because of this ?
I am curious about overhead (call outs to the referred packages ...etc)
that may be incurred because the referred data (from the packages) are not
available in the .class itself.
Or the overhead is extremely minimal ?

No comments:

Post a Comment