Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between JAVA oops concept and PHP oops concept?

0
Posted

What is the difference between JAVA oops concept and PHP oops concept?

0

OOP – “Object Oriented Programming”…NOT “oops” – I made a mistake, is independent of language. OOP is a programming methodology, a way to think about programming, that does not imply any particular language. There are languages that were originally conceived with OOP in mind, but there are others that allow OOP in spite of NOT having been developed with OOP as a major idea. Java was developed to support OOP. PHP is scripting language that allows OOP but was not intended to prefer it. OOP CAN be done with PHP. To program OOP in PHP requires that you, as the programmer, conform to a large number of practices that are not base standards of the language. In Java, OOP is preferred – you have to WORK to avoid doing Java without OOP, and, even when you pretend not to be doing OOP in Java, there are still objects involved.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.