The difference between Java and C ++

xiaoxiao2021-03-06  106

1. There is no statement with defined phase in Java

2. Java is not allowed to define a variable in nested blocks.

3. There is no programmable operator overload in Java

4. All methods in Java are defined within the category

5. Any inheritance in Java is public inheritance

6.java does not support multiple inheritance

转载请注明原文地址:https://www.9cbs.com/read-124580.html

New Post(0)