difference between java and C++
Answers
Explanation:
C++ is platform-dependent.
C++ is platform-dependent.Java is platform-independent.
C++ is platform-dependent.Java is platform-independent.· C++ is mainly used for system programming.
C++ is platform-dependent.Java is platform-independent.· C++ is mainly used for system programming.Java is mainly used for application programming. It is widely used in window, web-based, enterprise and mobile applications.
C++ is platform-dependent.Java is platform-independent.· C++ is mainly used for system programming.Java is mainly used for application programming. It is widely used in window, web-based, enterprise and mobile applications.· C++ supports multiple inheritance.
C++ is platform-dependent.Java is platform-independent.· C++ is mainly used for system programming.Java is mainly used for application programming. It is widely used in window, web-based, enterprise and mobile applications.· C++ supports multiple inheritance.Java doesn't support multiple inheritance through class. It can be achieved by interfaces in java.
C++ is platform-dependent.Java is platform-independent.· C++ is mainly used for system programming.Java is mainly used for application programming. It is widely used in window, web-based, enterprise and mobile applications.· C++ supports multiple inheritance.Java doesn't support multiple inheritance through class. It can be achieved by interfaces in java.· C++ supports pointers. You can write pointer program in C++.
C++ is platform-dependent.Java is platform-independent.· C++ is mainly used for system programming.Java is mainly used for application programming. It is widely used in window, web-based, enterprise and mobile applications.· C++ supports multiple inheritance.Java doesn't support multiple inheritance through class. It can be achieved by interfaces in java.· C++ supports pointers. You can write pointer program in C++.Java supports pointer internally. But you can't write the pointer program in java. It means java has restricted pointer support in java.
Answer:
Difference Between Java and C++ :
Java Script :
- It is a Scripting language
- Java ia an interpreted language
- It has drawn it's influences from the C programming language
- It also consise but not as C++
- Return type specification is not required in functions
- It supports algebraic types
- Functions are declared with the syntax, function function_name(parameter 1 , parameter 2 )
- It inherits most of its names and naming rules from java but syntax is different from java.
C++ :
- C++ is a programming language
- It is a compiled language too
- It doesn't support algebraic data types
- C++ programs are consise
- C++ is a language evolved from C programming language
- C++ receives syntax from C most
- Return type specification is required in functions.
- Functions are declared with the Syntax , datatype function_name(parameter1 , parameter2 )