Question:

What are some benefits of using Java vs C

by  |  earlier

0 LIKES UnLike

its supposed to be C++ up in the question

 Tags:

   Report

2 ANSWERS


  1. Simply put, Java is safer.  By that, I mean Java doesn't have access to a lot of the features that C++ does.  That might sound like a bad thing, but it's actually good.  When you download a C++ program, you are accepting the idea that the program has access to lots of your resources like memory.  A C++ program can point to any memory location it wants and change the values there, which could cause serious problems if your operating system was using that space for something.  Java isn't able to do that.  It also isn't able to sneak into your file system and cause all sorts of havok.  One reason Java is used on the web is because when clients run Java applications, they know their computers aren't going to be subjected to all the issues C++ can bring with it.  In the modern age of internet security, this is an important aspect of the language.


  2. Java has got lot of inbuilt libraries , no pointer ,etc

    Regards,

    http://ijug.net/

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.