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.
2 ответов
+ 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)
+ 1
here's a a quote for ya "Java is to JavaScript as ham is to hamster"