Difference Between C++ and Java
Here we discuss some important
Difference Between Java and C++ |
Difference Between C++ and Java. Both languages are Object Oriented Programming Language.
Some Important Difference Between C++ and Java
- Java have garbage collector for memory management.
- Java supports classes, but does not support structures or unions.
- Java does not support typedefs, defines, or a preprocessor.
- Java does not support enums. But C++ Have enums.
- Java does not support default arguments. C++ support default Arguments.
- There is no goto statement in Java.
- Java does not support pointers. C++ support Pointer concept.
- Java support automatic garbage collection. It does not support destructors as C++ does.
- Java does not support multiple inheritance. C++ support multiple inheritance.
- Java does not support default arguments like C++.
- Java has method overloading, but no operator overloading just like c++.
- Java does not support unsigned integer. C++ support this.
Really this is an useful information for beginners, who are willing for core java training. These basics are very much important to learn java.
ReplyDeleteThank you for sharing.
Really this is an useful information for beginners, thank you
ReplyDeleteIELTS Coaching in chennai
German Classes in Chennai
GRE Coaching Classes in Chennai
TOEFL Coaching in Chennai
spoken english classes in chennai | Communication training
Great Informative post. I really Appreciate your work. Thank you for sharing the informationsalesforce course in chennai
ReplyDeletesoftware testing course in chennai
robotic process automation rpa course in chennai
blockchain course in chennai
devops course in chennai