The basic difference between JavaScript and Java is _________

The basic difference between JavaScript and Java is _________
A. There is no difference
B. Functions are considered as fields
C. Variables are specific
D. Functions are values, and there is no hard distinction between methods and fields
 
Answer: d
Explanation: Java is an OOP programming language while JavaScript is an OOP scripting language. The basic difference between JavaScript and Java is that the functions are values, and there is no hard distinction between methods and fields.
 

Tìm kiếm

Back
Top