Which is better, Java or Javascript? (read description) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 8

Which is better, Java or Javascript? (read description)

I have learnt Java because of my academics. javascript I have never actually learnt. I started developing apps (basic ones) on Android Studio which runs on Javascript and understood the syntax from a Google search and like this I got a hang of it. (I also know c++ coz of my academics) So I want to know if javascript is really necessary to be learnt (if you know java already) or is it okay if I don't.

23rd Feb 2017, 8:34 AM
Shamoil Arsiwala
Shamoil Arsiwala - avatar
21 Answers
+ 10
Basically JavaScript is used to develop interactive webpages, while Java is for creating Web apps and platforms. So both languages are different; for instance you'll use JavaScript as a front end tech and Java on the back end.
23rd Feb 2017, 11:30 AM
Joachim Roma
Joachim Roma - avatar
+ 9
Both of these are completely different, For some purposes you need java while for others you need javascript. So its upto you what you want to do and then decide the language.
23rd Feb 2017, 9:23 AM
Meharban Singh
Meharban Singh - avatar
+ 8
Java is a programming language but JavaScript is scripting languages which can be use to make dynamic web page ...
28th Feb 2017, 5:39 PM
SUGANTHI M
SUGANTHI M - avatar
+ 7
you only need a hammer if you have a nail to get into the wall. do you? do you think you will have to in the near future? the nail is a dynamic website or generally webprogramming. by the way: a good programmer should learn one language per year (thats what "the pragmatic programmer" says)
24th Feb 2017, 2:53 PM
Oma Falk
Oma Falk - avatar
+ 7
it depends what is the application
24th Feb 2017, 5:29 PM
Ganga Prasad Gupta
Ganga Prasad Gupta - avatar
+ 6
c java n JavaScript are completely different things... Java is server side language which can modify database as well. whereas JavaScript is a client side lang which can't do anything with database. JavaScript is a simple text file which is read by d browser but java needs jvm to run.
28th Feb 2017, 2:19 PM
Ronit Kumar
Ronit Kumar - avatar
+ 5
copying snippets and paste... why not? you ask if you have to learn but you do it already. you will change a row, you will add another one. you make mistakes and find the error... in other words...you are learning by doing!
24th Feb 2017, 2:59 PM
Oma Falk
Oma Falk - avatar
+ 4
If you are a web developer then at some point both languages complements each other.
24th Feb 2017, 7:37 PM
Prajval Singh Thakur
Prajval Singh Thakur - avatar
+ 3
allow not the name to confuse you. java script name was just adopted but the two are completely different languages. while Java is an object oriented programming language,java script is a client side web scripting language. even though node js java script library is used to develop web and hybrid apps using platforms like ionic.,java is used to develop native apps eg android apps development. both can be used to program games albeit js is for web games
5th Mar 2017, 9:16 PM
Michael Jaroya
Michael Jaroya - avatar
+ 2
Java is a universal language that allows programers to create 1 set of program codes to run on applications of multiple platforms and os without creating program codes for each platform and os. JavaScript is html coding that runs off of server side databases to make websites dynamic and interactive.
4th Mar 2017, 10:35 AM
Gerald Rosenbaum
Gerald Rosenbaum - avatar
+ 2
it depends what is the application
5th Mar 2017, 7:36 AM
Abdul Basit Brohi
Abdul Basit Brohi - avatar
+ 1
they are not the same. java script is used for web designing and java is programming language
26th Feb 2017, 6:37 AM
Ankit Singh
+ 1
Apart their names , they are completely different.If u want to be a web developer u should learn Java script where as Java is to create web pages
27th Feb 2017, 3:49 AM
Anjani Kumar
Anjani Kumar - avatar
+ 1
java script is for web and isnt same kind of app
28th Feb 2017, 4:17 PM
Alex
Alex - avatar
+ 1
both are different and both are useful.so learn both
2nd Mar 2017, 9:37 AM
Hitesh Morasiya
Hitesh Morasiya - avatar
+ 1
java is to JavaScript what car is to carpet !!😂
4th Mar 2017, 12:40 PM
Hitesh Datt
Hitesh Datt - avatar
+ 1
Both are different but if want to choose one of them then go to java as it has much scope and you learned it before and you will have no problem in studying it as you studied before.
6th Mar 2017, 4:25 PM
Shubhendra Nath Singh
0
give me your mobile number then i will tell you that Java better or JavaScript
12th Jul 2018, 5:40 PM
Amjad Khan
Amjad Khan - avatar
- 3
There is no similarities between java and javscript... So you should learn javascript
28th Feb 2017, 3:11 PM
Sartaj roshan
Sartaj roshan - avatar
- 3
Java
2nd Mar 2017, 12:45 AM
sridivya