APPLICATION LAYER
CLIENT SERVER PARADIGM
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Each statement in PHP and Javascript ends with ____
|
A new line
|
|
A colon
|
|
A semi-colon
|
|
A curly bracket
|
Explanation:
Detailed explanation-1: -Note: PHP statements end with a semicolon (; ).
Detailed explanation-2: -A semicolon is not necessary after a statement if it is written on its own line. But if more than one statement on a line is desired, then they must be separated by semicolons. So, semicolons (; ) are used at the end to separate the statements in JavaScript.
There is 1 question to complete.