How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?
No Answer is Posted For this Question
Be the First to Post Answer
What is local variable in php?
How can we get the browser properties using PHP?
4 Answers Google, Pollux Softech,
Write syntax to open a file in php?
Explain php split() function.
Describe PHP error and logging information?
Is array function in php?
explain in brief type juggling in php?
What and How possible injection in PHP and mysql?
What are default session time and path?
Explain the advantages of using PHP?
What is the function of trim?
What u mean by query?