i already ask my question in the title itself... PHP Vs JAVA - Who is best ? Why mobile apps require java , and why not php? Java - JSP , J2EE , J2ME ,JDK and now mobile app development also using java..... Android , symbian .... every thing require java. Why not php i used for mobile development ??
PHP is a web scripting language and can only be used in conjunction with a web browser. Java is a object oriented programming language and therefore like other mobile application languages such as python, c, c++, pascal and objective c you can develop an efficient application for the desired platform.
PHP is object oriented language too. PHP has a lot of software requirements and has not user interface classes (PHP use html instead that). So, PHP is powerfull web-programing language, and Java is universal language.
Because it is foolishly. People ride in buses, carry cargo in trucks. For each task there is a solution.
Because Java has been around since forever, it's a very mature language. Besides, PHP is a scripting language - very different from Java, it's more limited than java.
PHP does have OOP principles yes but not to the extent Java does...atleast not yet. Besides In my opinion PHP isnt a true programming language anyway....