java不可以多重继承。有专门的垃圾回收器来收集系统中无用的资源。
java的所有的程序都要在类中。包括main().

解决方案 »

  1.   

    java被java虚拟机解释执行,虽然跨平台性好,但是速度比C++慢很多。
      

  2.   

    Think in Java 附录里有几十条其实java也有指针,只不过受到了特殊保护,我们不能对它进行++,+=等操作
    一般来说java比C++好,最简单的证明方法就是统计从C++ goto Java的与Java goto C++的人数,但我不知道具体数字,只知道比值肯定远大于1
      

  3.   

    我得感觉是java比c++写起来要简单很多,一个project用java开发比c++开发要快很多,这在商业领域是很重要的。但是很牛的话还是用c++,因为c++对系统方面的操作比java强大很多,就是应为多了指针。其实两者都是面相对象语言,在编程思想上都大同小异,对于我们使用这些语言得人来说,不必深究
      

  4.   

    java is pure object orient programming language. there is no gloal function and data. it is more easy to use java than c++. and you no need to care about the memory problems. but the java is semi-compile language. the JDK compile source to byte code rather than machine code. so it is slower than c,c++. also in java, all objects are reference, there is no instance as in c++
      

  5.   

    严重同意happyegg(快乐蛋)
      

  6.   

    还是JAVA好.因为我正在学.呵呵