Question: Question 1 1 pts A Cat object has a method named beEvil ( ) ; An instance of a Cat object is named fluffy. What

Question 11 pts
A Cat object has a method named beEvil();
An instance of a Cat object is named fluffy.
What is the proper way to make fluffy be evil?
Enter your answer with no spaces and no semi-colon.
$fluffy->
Flag question: Question 2
Question 21 pts
Which of the following best describes the purpose of PHP methods?
Group of answer choices
It converts an object to a string.
An action the object can take.
A property of the object.
A sub class
Flag question: Question 3
Question 31 pts
In PHP, class declarations must be in their own separate file.
Group of answer choices
True
False
Flag question: Question 4
Question 41 pts
What key word is used to create a method in a PHP class?
Group of answer choices
action
return
function
method
Flag question: Question 5
Question 51 pts
A Cat object has a public field named $isEvil;
An instance of a Cat object is named fluffy.
There is no setter and no getter.
What is the proper syntax to access the state of the fluffy's evilness?
Enter your answer with no spaces and no semi-colon.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!