Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 8 of 8

Thread: Explain, "Java is NOT an internet version of C++"?

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Post Explain, "Java is NOT an internet version of C++"?

    Hi there,

    I hope you all are well and are enjoying the programming. I am a beginner to Java and I have just left C++ (temporarily of course). Now during the lecture, my teacher said that "It is a misconception that Java is an internet version of C++, whereas in reality it is not.". Now I would like you guys to please elaborate and explain this thing to me. Thanks.


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Explain, "Java is NOT an internet version of C++"?

    Java is it's own unique language which happens to have a syntax inspired by C++. This means that familiarity with one makes reading the other somewhat easier, but it does not make one a version of the other. Additionally Java can just as easily write stand-alone desktop applications and C++ can be used to write programs which are connected to the internet.

  3. #3
    Member angstrem's Avatar
    Join Date
    Mar 2013
    Location
    Ukraine
    Posts
    200
    My Mood
    Happy
    Thanks
    9
    Thanked 31 Times in 29 Posts

    Default Re: Explain, "Java is NOT an internet version of C++"?

    helloworld922, but as far as I know you cannot create features like applets with C++. And one of the purposes Java was designed for is for writing applications that can be easily distributed over the Internet. So Java appears to be more developed in this area.

  4. #4
    Junior Member
    Join Date
    Mar 2013
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Explain, "Java is NOT an internet version of C++"?

    Yes, there are a lot of differences between these two. I mean, talking about security, anybody who knows the security differences between these two, would prefer applets rather than the applications. In case of applets, Java creates somewhat a firewall between the user terminal and the source therefore filtering the information you are receiving. In this way, you receive only what you ask for. This single advantage of using applets is enough to differentiate between the two. But I really don't have satisfaction in the answer to the question that, "Why some people think that Java is an Internet version of C++?". Their syntax structure is almost same but there are some other huge differences. angstrem! Can you cast some light on this question?

  5. #5
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Explain, "Java is NOT an internet version of C++"?

    Quote Originally Posted by wikki2013 View Post
    I mean, talking about security, anybody who knows the security differences between these two, would prefer applets rather than the applications.
    Given the recent exploits of applets, I wouldn't count on that.

    Quote Originally Posted by wikki2013 View Post
    But I really don't have satisfaction in the answer to the question that, "Why some people think that Java is an Internet version of C++?".
    You're asking us to explain to you why people think something that isn't true. They do so because they don't know enough to know they're wrong, simple as that. Same with people who think javascript and Java are the same- they just don't know better.

    Recommended reading: Comparison of Java and C++ - Wikipedia, the free encyclopedia
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. #6
    Junior Member
    Join Date
    Mar 2013
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Explain, "Java is NOT an internet version of C++"?

    Hmm. Thanks, Kevin. I would surely read the comparison. But can you please name a few of the exploits, please? Just for the sake of knowledge. Thank you!

  7. #7
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Explain, "Java is NOT an internet version of C++"?

    Quote Originally Posted by wikki2013 View Post
    Hmm. Thanks, Kevin. I would surely read the comparison. But can you please name a few of the exploits, please? Just for the sake of knowledge. Thank you!
    A quick google search of "java exploits" will give you tons of information: https://www.google.com/search?q=java+exploits&tbm=nws

    Or you can get it straight from the horse's mouth here and here (which I found from a google search of "oracle java exploits").
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  8. The Following User Says Thank You to KevinWorkman For This Useful Post:

    curmudgeon (March 14th, 2013)

  9. #8
    Junior Member
    Join Date
    Mar 2013
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Explain, "Java is NOT an internet version of C++"?

    Thank you very much, Kevin. It is so nice of you. Glad to be on this forum. Thanks to admins. I'm lovin' this place.

Similar Threads

  1. Replies: 3
    Last Post: December 7th, 2011, 02:03 AM
  2. Replies: 7
    Last Post: August 13th, 2011, 01:22 AM
  3. Java says:"Hello World". I say:"It works!"
    By Davidovic in forum Member Introductions
    Replies: 4
    Last Post: June 29th, 2010, 07:13 AM
  4. "java.lang.NoSuchMethodError: main" and "fatal exception occured."
    By joachim89 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 10th, 2010, 08:35 AM
  5. "java -version" doesn't display proper value.
    By goldest in forum Java Theory & Questions
    Replies: 6
    Last Post: November 1st, 2009, 03:48 PM