java@ what is C + + features missing in Java

Source: Internet
Author: User

Following features of C + + is not there in Java.

No pointers
No sizeof operator
No Scope resolution operator
Local variables in functions cannot is static
No Multiple Inheritance
No Operator Overloading
No Preprocessor and macros
No user suggested inline functions
No Goto
No default Arguments
No unsigned int in Java
No--Operator in Java
No stack allocated objects in Java
No delete operator in Java due to Java ' s garbage collection
No destructor in Java
No typedef in Java
No global variables, no global function because Java is pure OO.
No friend functions
No Friend classes
No templates in Java

[email protected] What is C + + features missing in Java

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.