BTC USD 61,059.6 Gold USD 4,272.40
Time now: Jun 1, 12:00 AM

What's the difference between JavaScript and Java?

carlepawell

Banned
Messages
4
Joined
Feb 9, 2010
Messages
4
Reaction score
0
Points
3
Actually, the 2 languages have almost nothing in common except for the name. Although Java is technically an interpreted programming language, it is coded in a similar fashion to C++, with separate header and class files, compiled together prior to execution.

It is powerful enough to write major applications and insert them in a web page as a special object called an "applet." Java has been generating a lot of excitment because of its unique ability to run the same program on IBM, Mac, and Unix computers.

Java is not considered an easy-to-use language for non-programmers.
Javascript is much simpler to use than Java. With Javascript, if I want check a form for errors, I just type an if-then statement at the top of my page. No compiling, no applets, just a simple sequence.
 
Last edited by a moderator:
Back
Top
Log in Register