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