Q. The object whose properties are inherited by all instances of the class, and properties whose values are functions behaving like instance methods of the class, is

  • (A) Instance object
  • (B) Constructor object
  • (C) Destructor object
  • (D) Prototype object
πŸ’¬ Discuss
βœ… Correct Answer: (D) Prototype object
Explanation: The properties of the prototype object are inhertied by all instances of the class, and properties whose values are functions behave like instance methods of the class.
Explanation by: Mr. Dubey
The properties of the prototype object are inhertied by all instances of the class, and properties whose values are functions behave like instance methods of the class.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
206
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate