1.

Which of the following is possible to be referenced in external JavaScript?(a) CPP(b) Cs(c) PHP(d) PythonI have been asked this question in an interview.My question comes from External JavaScript and PHP in chapter Caching, Debugging and Animation of JavaScript

Answer»

The correct answer is (C) PHP

To EXPLAIN I would say: PHP (RECURSIVE acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. One of the LESSER known sides of external JavaScript is the ability to reference a PHP file INSTEAD of the familiar .js file.



Discussion

No Comment Found

Related InterviewSolutions