used for front-end web development while Java can only be used as a
back-end language within a web environment. Java doesn't need a web
The syntax/reserved-words are also different. There's many more
differences if you go and do some research on the two
flexible in datatype(loosly typed). Supports types which represents
Ex : Variables in Java is declared as datatype <varname>; --> int num;
- Java : public int functionName(int no)
will continue with answer...........
Java is a programming language designed to run in a Java Virtual Machine which is itself a program that allows java programs to run on any computer/device a Java Virtual Machine has been programmed for.
Java script is a scripting language that runs inside of a internet browser to enhance the web experience. Java script is designed to expand the capabilities of a web page so that it behaves more like a program on the computer than just a static page of text and images.