Exam 10: Developing Object-Oriented Php

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Variables that are associated with an object are called properties or attributes.

(True/False)
4.8/5
(35)

____________________ places code inside what programmers like to call a "black box."

(Short Answer)
4.9/5
(33)

____________________ are primarily used to initialize properties when an object is first instantiated.

(Short Answer)
4.9/5
(41)

In object-oriented programming, the code, methods, attributes, and other information that make up an object are organized into classes.

(True/False)
4.8/5
(32)

The functions and variables defined in a class are called functional members

(True/False)
4.8/5
(38)

The protected access specifier is used with a more advanced object-oriented programming technique called ____________________.

(Short Answer)
4.7/5
(27)

The ____ function determines whether a class exists and is available to the current script.

(Multiple Choice)
4.8/5
(31)

To use the variables and functions in a class, you instantiate an object by declaring the object as a new ____________________ of the class.

(Short Answer)
5.0/5
(28)

The functions associated with an object are called methods.

(True/False)
4.9/5
(28)

Instances of objects ____________________ their characteristics, such as class members, from the class upon which they are based.

(Short Answer)
4.9/5
(35)

To create a class in PHP, you use the class keyword to write a class definition, which contains that data members and member functions that make up the class.

(True/False)
4.7/5
(34)

Class variables are known as ____.

(Multiple Choice)
4.9/5
(31)

____________________ associated with an object are called methods.

(Short Answer)
5.0/5
(41)

Class names in PHP usually begin with a lowercase letter.

(True/False)
4.8/5
(38)

____ the object means creating an object from a class.

(Multiple Choice)
4.8/5
(39)

Access specifiers control a client's access to individual data members and member functions.

(True/False)
4.9/5
(38)

Class members that other programmers do not need access to should be ____.

(Multiple Choice)
4.8/5
(29)

You declare an object in PHP by using the ____________________ operator with a class constructor.

(Short Answer)
4.9/5
(31)

When an object from the class is instantiated it automatically calls a(n) ____, which is a special function with the same name as its class.

(Multiple Choice)
4.9/5
(37)
Showing 61 - 79 of 79
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)