CIW
1D0-510 · Question #28
Which of the following accurately describes a difference between a Java servlet and a PHP script?
The correct answer is B. Servlets must be compiled, whereas PHP scripts are only interpreted. See the full explanation below for the reasoning.
Question
Which of the following accurately describes a difference between a Java servlet and a PHP script?
Options
- AServlets must be interpreted, whereas PHP scripts are only compiled.
- BServlets must be compiled, whereas PHP scripts are only interpreted.
- CPHP scripts can be used only to communicate with databases, whereas servlets can be used to provide additional features.
- DServlets can be used only to communicate with databases, whereas PHP scripts can be used to provide additional features.
How the community answered
(39 responses)- A5% (2)
- B79% (31)
- C13% (5)
- D3% (1)
Community Discussion
No community discussion yet for this question.