apl logo

A.P. Lawrence

Information and Resources for Unix and Linux Systems
Bloggers and the self-employed
RSS FeedsGet APLawrence.com by RSS




Linux Skills Test

Copyright 2002,2003 A.P. Lawrence


Answer


False

javascript is not java. It's not even a lot like java; they do different things and have different capabilities.

See: http://www.aplawrence.com/jlist.html

Comments /Tests/Linux/e0077.html


Tue May 27 20:21:27 2008   Alan

Website:
Java is a partially interpreted language,that is - after crafting your
code you run a 'compiler' (javac) on it, this translates your Java to a
lower level code called byte-code. At runtime (when your program is executing)
the java virtual machine futher processes this byte code and translates
it to machine specific code.



Javascript on the other hand is a wholly interpreted language mainly used
for web technologies, you write your code and it is compiled, translated
and execute all at the same time.



The differences lie mainly in speed, error handling, secuirty. Java is
a 'proper' high-level language used for developing 'real' applications -
javascript has been seen as a tool for making web pages fancier... but the
advent of Ajax is shifting this per ception.



Alan


Add your comments


Next question
Return to Question q0077