A

Admin • 828.03K Points
Coach

Q. JavaScript is a _______________ language

  • (A) Object-Based
  • (B) Assembly-language
  • (C) High-level
  • (D) Object-Oriented
  • Correct Answer - Option(A)
  • Views: 8
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

JavaScript is Object-Based rather than fully Object-Oriented because:

Object-Based Language

  • JavaScript uses objects extensively but does not support features like class-based inheritance (before ES6 introduced class syntax).
  • It follows prototype-based inheritance rather than classical OOP (Object-Oriented Programming).

Why Not Other Options?

  • (B) Assembly-language → ❌ Incorrect, because JavaScript is a high-level language, not low-level like Assembly.
  • (C) High-level → ✅ JavaScript is a high-level language, but the most precise classification is "Object-Based."
  • (D) Object-Oriented → ❌ JavaScript does have OOP features (like objects and prototypes), but it lacks true class-based OOP principles like Java or C++.

Thus, JavaScript is primarily "Object-Based" because it uses objects but not full OOP features.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.