Skip to content

Commit 343b986

Browse files
committed
updated difference between C/C++ and Java
1 parent 461df1a commit 343b986

File tree

4 files changed

+84
-41
lines changed

4 files changed

+84
-41
lines changed

.idea/vcs.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Difference_Cpp_Java.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,28 @@
1-
![Difference](https://image.slidesharecdn.com/differencebetweenccandjava-170509103453/95/difference-between-c-c-and-java-3-638.jpg?cb=1494326144)
1+
![Difference](https://image.slidesharecdn.com/differencebetweenccandjava-170509103453/95/difference-between-c-c-and-java-3-638.jpg?cb=1494326144)
2+
3+
-----
4+
5+
1- What are the differences between #include<> statement and import statement?
6+
7+
|C/C++| Java|
8+
|-----|-------|
9+
|#include<> statement is available upto C and C++. |import statement is available upto JAVA.|
10+
|#include<> statements are used to include the predefined library which is available in the form of header files| import statements are used to include the predefined library which are packages|
11+
|#include<> statement is providing static loading.|import statement is providing dynamic loading.|
12+
|#include<> statements are recognized by Pre-Processor|import statements are recognized by both Compiler and JVM.|
13+
|By using Single #include<> statement we are able to include only one header file. |By using single import statement we are able to include more than one class or more than one interface of the same package|
14+
|C and C++ are platform dependent programming languages|JAVA is platform Independent programming language|
15+
16+
-------
17+
18+
2- What are the differences between .exe file and .class file?
19+
20+
|C/C++|Java|
21+
|----|---|
22+
|exe file is available upto C and C++ only.|.class file is available upto Java.|
23+
|.exe file contains directly executable code.|.class file contains bytecode, it is not executable code directly, it is an intermediate code|
24+
|.exe file is platform dependent file|.class file is platform independent file.|
25+
|.exe file is less secured file.|.class file is more secured file.|
26+
27+
------
28+

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,18 @@ It is used to develop rich internet applications. It uses a light-weight user in
7676
-------
7777

7878

79+
#### Contents
80+
| Contents|
81+
|---------|
82+
|[History Of Java](https://github.com/connectaman/Java_Notes_and_Programs/blob/master/History.md)|
83+
|[Features of Java](https://github.com/connectaman/Java_Notes_and_Programs/blob/master/Features.md)|
84+
|[Difference Between C++ and Java](https://github.com/connectaman/Java_Notes_and_Programs/blob/master/Difference_Cpp_Java.md)|
85+
|[]()|
86+
|[]()|
87+
|[]()|
88+
|[]()|
89+
|[]()|
90+
|[]()|
91+
|[]()|
92+
93+

0 commit comments

Comments
 (0)