Quick question. What is the difference between Java and JavaScrept? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Quick question. What is the difference between Java and JavaScrept?

I know JavaScript is used in web development, but not much else. I only have a weak understand of where the two are used. I could use a little more light on this subject.

15th Dec 2016, 7:52 PM
Hannibal Collins
Hannibal Collins - avatar
2 Respuestas
+ 3
Java is used for the industry mainly, and let you create desktop applications, it can be used for web but isn't really usefull face to HTML/CSS/Javascript. It is a language where the OOP is more developped (Interfaces, Enumeration, protected variables (In Javascript there is only public and private variable), Generic types, ...). And the language needs more strictness than Javascript, because it is a strong-typed language and it doesn't allows errors (In Javascript, forget a semi-colon don't necessarily returns an error)
15th Dec 2016, 9:04 PM
Volts
Volts - avatar
+ 1
here's a a quote for ya "Java is to JavaScript as ham is to hamster"
15th Dec 2016, 10:28 PM
kallzo
kallzo - avatar