Develop PHP according to an object-oriented architecture model similar to JAVA,

WBOY
Release: 2023-03-03 08:54:02
Original
1078 people have browsed it

It consists of N classes that inherit each other. What are the flaws of this?
The base class of JAVA can be Object and then there are button classes, window classes, and other classes. These classes are specifically responsible for their own fields, and then through a layer One level of inheritance

Reply content:

It consists of N classes that inherit each other. What are the flaws of this?
The base class of JAVA can be Object and then there are button classes, window classes, and other classes. These classes are specifically responsible for their own fields, and then through a layer One level of inheritance

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template