PrepAway - Latest Free Exam Questions & Answers

Which of the following accurately describes a difference between a Java servlet and a PHP script?

Which of the following accurately describes a difference between a Java servlet and a PHP script?

PrepAway - Latest Free Exam Questions & Answers

A.
Servlets must be interpreted, whereas PHP scripts are only compiled.

B.
Servlets must be compiled, whereas PHP scripts are only interpreted.

C.
PHP scripts can be used only to communicate with databases, whereasservlets can be used to
provide additional features.

D.
Servlets can be used only to communicate with databases, whereas PHP scripts can be used
to provide additional features.


Leave a Reply