πŸ“Š PHP
Q. Which PHP 8.1 feature introduces read-only properties?
  • (A) final properties
  • (B) immutable properties
  • (C) readonly properties
  • (D) constant properties
πŸ’¬ Discuss
βœ… Correct Answer: (C) readonly properties

Explanation: PHP 8.1 introduced readonly properties that can be written only once.

Explanation by: Mr. Dubey
PHP 8.1 introduced readonly properties that can be written only once.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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