java@ What are C++ features missing in Java

Posted 流白

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java@ What are C++ features missing in Java相关的知识,希望对你有一定的参考价值。

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

以上是关于java@ What are C++ features missing in Java的主要内容,如果未能解决你的问题,请参考以下文章

hdu 1075 What Are You Talking About (map)

HDU 1075 What Are You Talking About (Trie)

HDU1075 What Are You Talking About STL

HDU 1075 What Are You Talking About(Trie的应用)

HDU 1075 What Are You Talking About(map或字典树)

what are you 弄啥嘞!!!!!!!!!!!!!!!!泛型