JavaScript and Java similar name because ............ is/are true.
JavaScript and Java similar name because ............ is/are true.
(1) JavaScript's syntax is loosely based on Java's syntax
(2) JavaScript is stripped down version of Java
(3) Java and JavaScript are originated from Island of Java
Codes :
Show answerHide answer
Correct answer: (A) (1) only
Explanation
Statement (2) and Statement (3) are not true because JavaScript is not stripped down version of Java and they are not originated from Island of Java. Although they are different languages, JavaScript's syntax is loosely based on Java.