What is the difference between JAVA oops concept and PHP oops concept?
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.