×

Discussion Board

Results 1 to 3 of 3

Thread: Java vs. C++

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    6

    RE: Java vs. C++

    There are many differences between Java and C++.
    The fundamental difference is that C++ is compiled to run on specific hardware whilst Java is compiled to run on virtual hardware (hence the term Java Virtual Machine JVM).

    There is no Java vs C++ vs AnyOtherLanguage Debate, as all have their uses. It is simply a choice of the right tool for the job.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    48

    Java vs. C++

    How is Java different from C++?

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    41

    RE: Java vs. C++

    -A developer can use either Java or C++ languages to write applications for Nokia 9210 Communicator

    -C++ is for solutions, that need to have a good control on system resources

    -Java gives total platform independence and it is suitable for light-weight applications

    -Which on to choose depends on what kind of application are to be created

    -One should consider carefully which one of languages to choose

    Some C++ features that are not supported in Java:
    -There is no pointers and references in Java
    - Java don't support global variables or functions
    - There is no destructors in Java
    - Multi inheritance is not possible. This is partially replaced by using interfaces
    -Unsigned variables are not supported.
    -There is no delete operation in Java

    Some Java features that are not supported in C++
    -Automatic garbage collection
    -Totally object-oriented
    -Java packages
    -Multithreading
    -Interfaces

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×