C++ vs. Java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    C++ vs. Java

    Hi everyone,

    I often come across question regarding the advantages / disadvantages or C++ & Java, kindly refer to below attached links for further reading & understanding.


  • Ganon11
    Recognized Expert Specialist
    • Oct 2006
    • 3651

    #2
    From my personal experience, C++ is much more powerful and can do some cooler stuff easier (such as Input: cin >> num as opposed to Scanner IN = new Scanner(System. in); num = IN.nextInt();), but Java is a lot easier to read and understand, especially revolving around inheritance (public class subClass extends baseClass as opposed to class subClass: public baseClass).

    Comment

    Working...