Amazon Interview Question
Software DevelopersCountry: United States
javascript is interpreted on browser. Their are frameworks like nodejs that are written in js and work on server side. javascript from EC5 onwards use prototype inheritance and let you create object like var obj1 = {}. Javascript uses arrow functions from EC6 onwards.
Java is a complete object oriented programming language and works on server side. and ofcourse there are lots of features to java....and can be explained more.
Java JavaScript
- Anonymous June 21, 2015---------------------------------------------
Class Class-free
Strongly-typed Loosely-typed
Static object Dynamic object
Classical Inheritance Prototypal Inheritance
Classes Functions
Constructors Functions
Methods Functions