Question: QUESTION 5 What does $message contain after the following code executes? $statusCode = 4 0 3 ; switch ( $statusCode ) { case

QUESTION 5
What does $message contain after the following code executes?
$statusCode ="403";
switch ( $statusCode ){
case "200":
$message ="OK";
break;
case "403":
Smessage = "Forbidden";
break;
case "404":
Smessage = "Not Found";
break;
default:
Smessage = "Unknown Status";
break;
}
a.OK
b. Unknown Status
c. Not Found
d. Forbidden
 QUESTION 5 What does $message contain after the following code executes?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!