Introduction: This is a PHP learning note ------ [PHP object-orientedProgramThe detailed page of the design] describes the PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 338287 'rolling = 'no'>
<? PHP/* PHP Object-Oriented Programming ** PhP5 ** array and object: both belong to the PHP compound type (one variable can store multiple units) ** objects are more powerful than arrays. They not only store multiple data, but also store functions in the following three main features of ** objects: encapsulation, inheritance, and polymorphism ** Object-Oriented Programming (OOP) // conforms to reusability flexibility and scalability in software engineering ** differences between object-oriented and process-oriented ** minimum unit: function // process-oriented * smallest unit: Object // object-oriented ** what is an object? Recently, Sina's management layer began to cash in and publish messages, the MBO of that year made the management a top shareholder of Sina, and now they have become the second biggest shareholder. The equity ratio is not much different: it is only 0.1% different from fmr9.24 %, the largest shareholder. However, the Sina management layer has an agreement on selling shares. If this part of the shares may be sold in the future, the management will only have 5.74%. Sina may indeed become an "unowned Company" again ". This is why Sina, as a company, has troubles in the future: the profit model is unclear and the possibility of being unmaster begins to show up again. * The object is an entity * object: * Member attributes = variables // define the object's appearance and status * member methods = functions // define the object's functions ** what is a class * category, type, custom type * * define attributes and methods of this type in the class ** a relationship between classes and objects ** Declaration class --> instantiate an object (create an object) --> how to design a forward Object Program rather than the object-oriented syntax is the most rare thing to use the object. **/?>
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/338287.html pageno: 8.