Why are java arrays and booleans and c++ arrays and bools declared, and named differently?

前端 未结 0 1289
心在旅途
心在旅途 2021-01-16 17:04

I\'ve been wondering for a while why c++ and java arrays are declared differently.

I mean on one side we have:

int arrayCpp[] = {1, 2, 3}; // (C++)


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题