Multiple choice technology programming languages

What is the relationship between Java and JavaScript?

  1. Netscape invented JavaScript as a stripped-down "lite" version of Java

  2. Java borrowed ideas from JavaScript and made it a full-fledged programming language

  3. They both originate from the same research at Sun Microsystems

  4. There is none; it's all just marketing

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Java and JavaScript are entirely distinct languages with different designs, use cases, and execution environments. The name similarity was purely a marketing decision by Netscape to capitalize on the popularity of Java at the time.