PHP Test online


7. Assume that a class called testclass is defined. What must the name of its constructor method be?


Вариант ответа 1 - A) __construct

Вариант ответа 2 - B) initialize

Вариант ответа 3 - C) testclass

Вариант ответа 4 - D) __testclass


Comments: For a class called testclass, the constructor is Answer C, testclass().

Comments

User nameComment
User name
Comment text
Code