Question 43Asked in UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)

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 :
  1. A(1) only
  2. B(1), (2) and (3)
  3. C(1) and (2)
  4. D(1) and (3)
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.

From UGC NET Computer Science PYQ, December 2015 (Paper II & III, Selected Questions)

This is question 43 of UGC NET Computer Science PYQ, December 2015 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.