English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-09-18 04:42:40 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

So what is JScript?

2006-09-18 05:10:40 · update #1

5 answers

Javascript was originally developed by Netscape as a web scripting language....its main use is still the web, but it can be used for desktop applications (its just awkward).

Java on the other hand is completely different. There is no real relationship between Java and JavaScript; their similarities are mostly in basic syntax because both are ultimately derived from C. Their semantics are quite different and their object models are unrelated and largely incompatible. Like C and C++, all Java variables and members are statically typed, whereas all JavaScript variables (as well as object properties and array elments) may hold a value of any type.

In truth, Flash Actionscript shares a great deal more in common with Javascript than Java does...because they are both based around another language called ECMAScript.

Thankfully you didn't ask about JScript too ;)

EDIT: Doh! You had to go and ask about JScript didn't ya!? ;) Ok, in a nutshell, JScript is Microsoft's version of Javascript (they're really pretty much the same thing but Microsoft just *had* to do their own version as per bloody usual). So when developers say that they've been doing some stuff in Javascript for Internet Explorer...they're actually talking about JScript. Thats about as far as my knowledge goes though I'm afraid, you may want to google it if you really want to know the finer nitty gritty details.

Hope that answered your question!

2006-09-18 04:59:05 · answer #1 · answered by gromitski 5 · 1 0

Java is programming language and a platform that runs programs written in Java Programming language, from SUN Microsystems. There is a platform named Java Virtual Machine, you can download it from http://www.sun.com and install it. This platform, runs any program written in Java Programming language which is one the most robust and powerful programing languages ever. Most of programing languages compile to binary data (0 and 1 that computer hardware understands), but java complies to byte code, a special data that the Java Virtual Machine (JVM and also called Java Runtime Environment JRE) understands and runs.
JavaScript is a scripting language. Scripting languages don't compile to any other format. Some other program reads them and execute instruction from those files. JavaScript is specially used by browsers. So that web developers can have interactions with users. All of pop-up menus, pop-up windows, client side data validations and .. are done by javascript.
Don't let the names confuse you. Java is the name of the programing language. Java has a technology called java applets, which are programs that run into other programs. They got very popular some years ago, because they could run in web browsers. Most of online games was written by java through applets (well now a days macromedia falsh has got the share, but some years ago applets were so popular). Then some guys wanted to make a connection between the applet and the browser. So that an applet could manage the behavior of the browser, and they introduced javascript and named it like this because it was meant to be related to Java.

2006-09-18 05:15:06 · answer #2 · answered by farzad 2 · 0 0

Java is a stand alone language which needs to be compiled into an applet or similar before it can be deployed on a web page.
Javascript is evaluated on the fly by your browser and does not need to be compiled.
Hope this helps

2006-09-18 04:52:16 · answer #3 · answered by eponymouswhitey 2 · 0 0

java is a programming language, javascrip is a script langage used for creation of web pages.

2006-09-18 04:45:37 · answer #4 · answered by Anonymous · 0 0

JAVA is the platform/console which is need to read JAVASCRIPT (which is the lingo!).

2006-09-18 04:46:00 · answer #5 · answered by Charlie Brigante 4 · 0 1

fedest.com, questions and answers