Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 414 Bytes

0766.md

File metadata and controls

15 lines (12 loc) · 414 Bytes

Which is the correct syntax to define a class constant for the class MyClass?

  • A) const NAME = "value";
  • B) static final $NAME = "value";
  • C) define("MyClass::NAME, "value");
  • D) const $NAME = "value";
Answer

Answer: A