CompTIA ITF+ FC0-U61 Practice Question
What is the role of methods in programming?
They provide the main structure and definition for objects in object-oriented programming.
They are commands used to manipulate the user interface of an application.
They define a set of instructions that perform a specific task when called upon in a program.
They are used to store pieces of data for an object in object-oriented programming.