A

Admin • 802.91K Points
Coach

Q. How do you create an instance of a class?

  • (A) new ClassName()
  • (B) create ClassName()
  • (C) object ClassName()
  • (D) instanceof ClassName()
  • Correct Answer - Option(A)
  • Views: 3
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
Use the new keyword to create an instance of a class.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.