Difference Between C++ & Java-
- In C++ we can write a programs without classes,but in Java we can not write programs without classes.
- In C++ Memory creation & Distruction is done manually by the programmers ,but in Java Memory creation & destruction done automatically by the JVM.
- In C++ we have constructor & destructor ,but in Java Only we have only Constructor there are no destrutor.
- C++ has three Acess modifiers Private Public and Protected ,But in Java we have 4 Acess Modifiers Public,Protected,Private & default.
[NOTE-: Java is Object Oriented programming language because we can not start a programme without class.]
Define & Differentiate JDK,JRE,JVM-:
JDK- :
- It stands for Java Development kit.
- By using JDK we can write the programs ,debug the programs if any error, Link the Libraries and execute the program .
- JDK is installed on Developer System.
- JDK contains Java Compiler +JVM
JRE-:
- JRE stands for Java Runtime Environment .
- By using JRE we can Link the Libraries and execute the Byte Code.
- JRE contains only JVM.
Java Latest version -
JAVA8
- JDK 1.8 + JRE 1.8
JAVA 7
- JDK 1.7 + JRE 1.7 //Dolphin
JAVA6
- JDK 1.6 + JRE 1.6 //Mustage
JAVA5
- JDK 1.5 + JRE 1.5 //Tiger etc...
JVM-:
[Note-:
Virtual Machine- The isolated High Perform & duplicate copy of Machine is Known as Virtual Machine.]
JVM is software module running independently in executing the instruction of the programme.
0 comments:
Post a Comment
Enter Here Your Ideas and Comment to improve this Blog