Explore topic-wise MCQs in PHP Questions & Answers Object and Design-1.

This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your PHP Questions & Answers Object and Design-1 knowledge and support exam preparation. Choose a topic below to get started.

1.

Which one of the following is known as the key to object-oriented programming?

A. Polymorphism
B. Encapsulation
C. Data Abstraction
D. Orthogonality
Answer» C. Data Abstraction
2.

______ occurs when discrete parts of a system s code are tightly bound up with one another so that a change in one part necessitates changes in the others.

A. Loose Coupling
B. Tight Coupling
C. Co-relation
D. Balancing
Answer» C. Co-relation
3.

The extent to which proximate procedures are related to one another is known as ________

A. Coupling
B. Balancing
C. Cohesion
D. Co-relation
Answer» D. Co-relation
4.

Placing a static method for generating ________ objects in the ____________ class is convenient.

A. child parent
B. parent child
C. final static
D. static final
Answer» B. parent child