java is platform independent.

BASIC KNOWLEDGE ABOUT JAVA AND C/C++

well i would like to share some knowledge for the basics of Java , C and C++

Java as u know is platform independent...........

why......??????

The answer is due to the JVM  i.e java virtual machine that is only required to run the byte code

which is given by the compiler of java again if some one asks you that jvm itself needs an exe file to run and again it is dependent on OS then how can we say that java is platform independent.........!!
yes still we can prove as JVM is available in two forms

1) hardware form (used in electronic gadjets )
2) software form(used in computers)

so we can say that hardware form dosent require any operating system so java is platform independent where as C and C++ are platform dependent as they produce their exe file which is runned by operating system.

 I hope this would be helpful to u .

Comments

  1. wow dear this concept is very useful in future of our junior
    god bless u

    ReplyDelete
  2. thanxx hemal kothari..!! Hope you got Your Concept cleared for your viva at that time..!!

    ReplyDelete

Post a Comment

Popular posts from this blog

Navigation in Vaadin.

Drag and drop items from one Grid to another

State space search / blocks world problem by heuristic approach /TIC TAC TOE