Difference between C++ and JAVA
C++
- Platform dependent
- Partial OOP(Object Oriented Language)/In complete
- Pointers supported
- Multiple inheritance supported by C++
- Clear Data type takes one byte of memory
- Operator over loading is supported by C++
- Friend functions are supported by C++
- It is a partial oop language where a program can able to write with class and with out class
JAVA
- Platform Independent
- Totally OOP(Object Oriented Language)/ FULLY
- Inbuilt pointer are supported by JVM(or) pointers in JAVA
- No multiple inheritance in JAVA directly
- JAVA char Data type takes 2 bytes of memory
- JAVA is not supporting operator overloading
- No friend functions in JAVA
- JAVA is a total oop language where every program must be writing inside the class only
No comments:
Post a Comment