Why java is preferred over other languages?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 19

Why java is preferred over other languages??

26th Jul 2017, 9:19 AM
Gregor Duff
Gregor Duff - avatar
9 Answers
+ 12
the JVM and the near unlimited number of libraries available on the JVM are two of the main reasons. unlike the .Net, the JVM treats every language the same. so Java is not special that way. the large number of libraries that I just mentioned just happen to be written in java because it is the oldest of the JVM languages. that said, for new projects, if you are debating scheje, frege, abcl, clojure, kotlin, Scala, groovy, Ceylon or any other language I missed, you will not be disappointed. because most if not all of these languages can easily access the vast array of the libraries written for the JVM. now to prefer Java over other languages is purely economics. Java has one of the largest programmer population for any language out there. this means for a business, it is easy and more importantly, cheaper to hire Java programmers. also, Java retains backwards compatibility with every version ever released. this is a great blessing for businesses. they can upgrade the JRE without having to worry about breaking their mission critical applications. this will slowly change over time if any of the other JVM languages gain the same popularity that Java enjoys. with Google throwing their weight behind kotlin, kotlin might just be the language.
26th Jul 2017, 9:34 AM
Venkatesh Pitta
Venkatesh Pitta - avatar
+ 17
Benefits of using Java: Excellent tooling: IDE, CI, etc. Vast array of 3rd party libraries. Huge amount of documentation available. Large pool of developers available. Platform ubiquitous. Excellent performance. Excellent specification. Sturdy garbage collection. Managed memory. Native threads. Choice - implemented by multiple vendors.
26th Jul 2017, 9:32 AM
P R
P R - avatar
+ 9
Java is not only a programming language, it is also a platform having its own runtime environment (JRE) and its own virtual machine (JVM)... ^-^
27th Jul 2017, 9:43 PM
Femyk
Femyk - avatar
+ 9
thanks all of you..
28th Jul 2017, 6:27 AM
Gregor Duff
Gregor Duff - avatar
+ 7
Reasons: 1. Pltform Independent. 2. Object Oriented (Can be related to real world problems). 3. Multithreaded. 4. Has frameworks like spring and hibernate. 5. The more developers, the more libraries for every task and vice-versa. 6. It was released in 1995. So it's famous from back then among developers. 7. Collection in java makes coding easier. 8. James Arthur Gosling did a great job developing Java. Got a nobe prize in 2007 for developing Java. 9. Google was amazed to see love for java among deveoprs. Made java the as the core languge for android before Kotlin. Even java was itself recognised as an OS before Android. 10. I don't have any point. But 10 seems to be wholesome. If this is your dp, I would say you're a personification of beauty with brain. /* P.S. I'd be really disappointed if it was not this famous. Because I've been studying it from my 10th standard. */
26th Jul 2017, 5:19 PM
Viraj Singh
Viraj Singh - avatar
+ 3
portability. With java, you create and compile only once. After, the computer just need the jre.
26th Jul 2017, 9:25 AM
Herwans Harvel
Herwans Harvel - avatar
+ 3
yes and also lot of technology are developed in java
26th Jul 2017, 10:04 AM
Ashwaghosh Sadanshiv
Ashwaghosh Sadanshiv - avatar
+ 3
Java is used to create almost every application and program you are using
26th Jul 2017, 10:24 AM
Mihail
Mihail - avatar
+ 2
Yes because Java runs most applications like Android applications.
30th Jul 2017, 2:20 PM
Shane Umayanga
Shane Umayanga - avatar