Question:
Why should you use java? What makes it a better programming language?
NYC GIRL
2008-03-03 21:47:50 UTC
Why should you use java? What makes it a better programming language?
Three answers:
lulu
2008-03-03 22:26:48 UTC
Well as I know that it works in any OS (Thats what they taught me on university) it works in windows , linux and any other OS without the need of adding any library or changing anything in the code.

and here

Why Java?



* Similar to C++ so it is familiar to commercial programmers.

* Does not include the nasty dangerous parts of C++ so it is safe.

* Extensive run-time type information and safe dynamic link-loading is available.

* Includes string and multi-thread support in the language.

* Automatic memory management.

* Data type sizes and arithmetic behaviour are fixed and fully defined for all platforms.

* Has useful standard OO libraries.

* Documentation can be extracted from the source code.

* Security checking is built in to the libraries and virtual machine.

* Supports unicode for ease of internationalisation.

* Write once, run anywhere, any platform (no porting, no client configuration .. well almost!)

* Vast amount of supplier and programmer support and acceptance. It is unkillable.

* Loads and runs over the WWW, 40 million potential clients.
Rob
2008-03-03 22:39:12 UTC
Java isn't native to anything, so you definately need to install a library or a runtime. Windows requires a Java VM or Java Runtime to run apps in Java.



Java really isn't that great, but it's good to know if you are going to program for portable devices (ie: Blackberry).



C++ offers all the same benefits as Java, and doesn't require anything special. Plus, it's by far more flexable.



Sure, you need to change up a bit of C++ code to make it work for different OS's... but if you think about it, doesn't that seem right? If I don't sync code to an OS, I know the language isn't good.
2016-11-30 10:41:14 UTC
There are strategies you should use which could help you if you're only starting up out. i imagine there is one only called sport clothier that has problem-free libraries already carried out for you. yet another decision is to attempt utilising Macromedia Flash to layout information superhighway depending video games. There are a lot of tutorials all around the web on a thanks to initiate making video games like Tic Tac Toe and then you'll artwork up from there. once you're set on gaining knowledge of a perfect programming language, C++ continues to be the language of decision for most sport programmers. it truly is a demanding position to initiate though. only take a even as and be certain to study the basics first. solid success!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...