Why Java and JavaScript have similar name?

Options
- Java Script is a stripped-down version of Java
- The syntax of JavaScript is loosely based on Java syntax
- They both support Object Oriented Programming
- None of the above


CORRECT ANSWER : The syntax of JavaScript is loosely based on Java syntax

Discussion Board
JavaScript Name

The language's name is the result of a co-marketing deal between Netscape and Sun, in exchange for Netscape bundling Sun's Java runtime with their then-dominant browser." It was originally called Mocha, renamed to LiveScript, and then renamed to JavaScript.

Eric B Weimer 05-17-2017 09:16 PM

Why so Java and JavaScript have similar name

i am not agree this there is nothing related......this is run time language can u pls explain clearly

gobinath 12-2-2016 03:36 AM

badly formed answer

You mean the syntax of Javascript is loosely based on Java syntax. Anyway I don't agree. It was simply a marketing ploy.

Larry M 08-11-2014 06:56 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement