CompTIA ITF+ (FC0-U61) — Question 29
When developing a game, a developer creates a boss object that has the ability to jump. Which of the following programming concepts does jump represent?
Answer options
- A. Method
- B. Object
- C. Property
- D. Attribute
Correct answer: A
Explanation
The jump action is best described as a Method because it defines a behavior or functionality that the boss object can execute. The other options, Object, Property, and Attribute, do not specifically represent actions or behaviors but rather represent the characteristics or identity of the object itself.