SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Jun 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile is Java easier than C++

    Hi there,

    I started a JAVA class this week and very excited! I have taken C++, it looks like there are a lot of similarities! IS JAVA easier than the complex C++?

  2. #2
    SitePoint Addict
    Join Date
    Mar 2007
    Posts
    286
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think so. It may be easier to pick up and get going with but in the end you have to learn and understand the same concepts.
    http://www.glasys.co.uk
    Noli Illegitimi Carborundum

  3. #3
    SitePoint Wizard rozner's Avatar
    Join Date
    Oct 2002
    Location
    Paris
    Posts
    1,058
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd say Java as a language is easier than C++, although object oriented programming in Java is fundamentally the same as C++. The language itself is similar in syntax. The major difference that makes it easier is the memory management. Java handles memory management for you, C++ does not. But as far as actually programming, once you get a handle on either language it seems much the same. (IMO)

  4. #4
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,597
    Mentioned
    24 Post(s)
    Tagged
    1 Thread(s)
    If you already know C++ then learning Java should be a lot easier for you than learning C++ was since you already know many of the object oriented programming concepts that both languages use.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  5. #5
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Java is a bhast language consist of almost all c++ features with some new features to meet modern requirements like Internet applications. It's not easy to learn java but if someone has interest in it then it may seem to easier to his or her.

  6. #6
    SitePoint Member
    Join Date
    Aug 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rozner View Post
    I'd say Java as a language is easier than C++, although object oriented programming in Java is fundamentally the same as C++. The language itself is similar in syntax. The major difference that makes it easier is the memory management. Java handles memory management for you, C++ does not. But as far as actually programming, once you get a handle on either language it seems much the same. (IMO)
    + 1

    But you need to learn how the garbage collector work, you need to understand the concept of Virtual Machin.

    Yes java is easier, but you need to learn differents concepts

  7. #7
    SitePoint Member
    Join Date
    Jan 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I love C++ more than Java


Bookmarks

Posting Permissions

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