What should Java learn from PHP?
1.Java and PHP actually overlap in website development. PHP is mainly used for website development, while Java is cross-platform. Besides website development, it can also be used in many other fields, such as Android, J2EE, J2ME and so on. From the perspective of application, Java is more extensive and more popular with large enterprises.
2.Java is a frequent visitor at the top of the list of computer programming languages. Many computer programming attempts to replace Java have failed so far, and PHP only occasionally appears in the list of computer programming languages. Therefore, the development of Java is very stable and the future is very clear. PHP has a small audience and can be replaced.
3.Java's salary is higher than PHP's, and he has learned more from Java than PHP. You can know that the training time of PHP is about 3 months, while it takes 5 months to learn Java well. Moreover, in the promotion space, because of the wide application scope of Java, the promotion space of Java is much larger than that of PHP.