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 script are only interpreted.

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

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


Leave a Reply