nerdexam
CompTIA

FC0-U71 · Question #55

A programmer creates an object to retrieve customer names from a database. Which of the following best describes the object that is retrieving the names?

The correct answer is C. Method. A method is a function or procedure associated with an object that performs an action, such as retrieving customer names from a database.

Software Development Concepts

Question

A programmer creates an object to retrieve customer names from a database. Which of the following best describes the object that is retrieving the names?

Options

  • AVariable
  • BAttribute
  • CMethod
  • DLooping

How the community answered

(24 responses)
  • A
    4% (1)
  • C
    92% (22)
  • D
    4% (1)

Explanation

A method is a function or procedure associated with an object that performs an action, such as retrieving customer names from a database.

Topics

#Object-Oriented Programming (OOP)#Methods#Programming Concepts#Software Development

Community Discussion

No community discussion yet for this question.

Full FC0-U71 Practice