NIELIT O Level Exam

What is the basic difference between JavaScript and Java?

What is the basic difference between JavaScript and Java?

जावास्क्रिप्ट और जावा के बीच बुनियादी अंतर क्या है?

A. Functions are considered as fields कार्यों को क्षेत्रों के रूप में माना जाता है

B. Functions are values, and there is no hard distinction between methods and fields कार्य मूल्य हैं, और विधियों और क्षेत्रों के बीच कोई कठोर अंतर नहीं है

C. Variables are specific चर विशिष्ट हैं

D. There is no difference इसमें कोई फर्क नही है




Correct Answer is :

B. Functions are values, and there is no hard distinction between methods and fields



Explanation
Java is an object-oriented programming language, while JS is an object-oriented scripting language. The main difference between JavaScript and Java is that functions are values, while methods and fields are not clearly defined.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad