What are C++ features missing in Java? Last Updated : 28 Jun, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report Following features of C++ are not there in Java. No pointers No sizeof operator No scope resolution operator Local variables in functions cannot be 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 Comment More infoAdvertise with us Next Article JDK 23: New Features of Java 23 K kartik Follow Improve Article Tags : Java Practice Tags : Java Similar Reads Java 9 Features with Examples Java is a general-purpose, high-level programming language developed by Sun Microsystems. It is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. Java was meant to follow the "Write Once Run Anywhere" (WORA) principle, i.e., J 6 min read Java 9 Features with Examples Java is a general-purpose, high-level programming language developed by Sun Microsystems. It is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. Java was meant to follow the "Write Once Run Anywhere" (WORA) principle, i.e., J 6 min read Java 8 Features - Complete Tutorial Java 8 is the most awaited release of the Java programming language development because, in the entire history of Java, it has never released that many major features. It consists of major features of Java. It is a new version of Java and was released by Oracle on 18 March 2014. Java provided suppor 9 min read What's New in Java 15 and C++ 20? Java 15, includes several new features and enhancements. Some notable new methods in Java 15 include: Hidden Classes This feature allows classes to be defined as hidden, which means they are not visible to code outside of the package in which they are defined. This can be used to improve the securit 8 min read JDK 23: New Features of Java 23 Java Development Kit (JDK) 23 is a long-awaited release, which brings numerous new features, enhancements and updates to increase performance, security and the overall experience of developers. This guide wants to provide an extensive review of what will be in JDK 23 such as new characteristics, nec 14 min read JDK 22: New Features of Java 22 JDK 22 release has been much awaited by the Java landscape which continues to witness modifications. The latest installation of JDK has more than enough technical improvements aimed at giving developers more control, simplifying development processes, and developing brand-new paradigms for high-perf 13 min read Like