Your Ad Here Your Ad Here
Results 1 to 6 of 6

Thread: Java or C++

  1. #1
    Out of the two which would you say is the easiest for a beginner to learn and then hopefully make a program using either the above. I have done a bit of c++ and honestly i found it very hard. My next module consists of java. Is it similar to c++ (being hard) or somthing new thus being easier. Also are there any good tutorials sites which could help and how long would it take to master either of the above.

    Last edited by Flametongue; 02-05-2005 at 07:42 PM.

  2. Software & Hardware   -   #2
    iMartin's Avatar ♥Home Grown♥ BT Rep: +9BT Rep +9
    Join Date
    Mar 2003
    Basic/C++ would be best for a beginer, although I started learning Java before anything else.

  3. Software & Hardware   -   #3
    baccyman's Avatar n00b BT Rep: +11BT Rep +11BT Rep +11
    Join Date
    Oct 2002

  4. Software & Hardware   -   #4
    For a relative beginner, Java would be much easier to learn.
    We can't stop here... this is bat country

  5. Software & Hardware   -   #5
    I would really disagree with that. With Java, you are forced to have to worry about classes, objects, etc. from the very beginning. This stuff really shouldn't come until you are familar and fairly comfortable with doing basic stuff.

    Take the basic "Hello world!" in Java and C++:
    public class Hello {
      public Hello() {
      public static void main(String[] args) {
        System.out.println("Hello world!");
    #include <iostream>
    int main()
        cout << "Hello world!" << endl;
    Just right there, there are many things involved with the Java version that a beginner really shouldn't have to mess with. Granted, once you are used to programming, this stuff makes some stuff in Java easier. The whole OOP business is a lot simpler in Java. Though, for a real beginner who hasn't had much exposure to programming, C++ would be the easier to understand of the two. There is just less initial stuff to worry about...
    Last edited by Xilo; 02-05-2005 at 09:55 PM.

  6. Software & Hardware   -   #6
    ok cool cheers for the info
    Last edited by Flametongue; 02-06-2005 at 11:18 AM.


Posting Permissions

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