A Brand Name ||Official Url :: Software UI Designer| Contents Designer | OS | W€B | Server | Programming | Computing Technology ::

Difference between # include in C/C++ and import in Java

*** Difference between # include in C/C++ and import in Java ***

– # include makes the compiler to copy header file code into the C/C++ program.
– It increase the program size, unnecessary wastage of memory and process time.

import statement makes JVM to go to the java library and execute the code there and finally substitute the result into java program.

– JVM physically will not copy any code.

import is efficient than # include

Happy Coding!! 

Advertisements

One response

  1. Howdy would you mind sharing which blog platform you’re
    working with? I’m looking to start my own blog soon but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and
    Drupal. The reason I ask is because your layout seems different then most
    blogs and I’m looking for something completely unique.
    P.S Apologies for being off-topic but I had to ask!

    Like

    June 21, 2014 at 9:00 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s