Medium
What do keyword
and instruction
need to be replaced by in the following code to output the welcome message ?
class Greetings {
<keyword> WELCOME_MESSAGE = "Welcome to welovedevs !";
public function greet() {
<instruction>;
}
}
$message = new Greetings();
$message->greet();
Author: ThéoStatus: PublishedQuestion passed 1682 times
Edit
5
Community EvaluationsNo one has reviewed this question yet, be the first!