117k views
1 vote
A method is a set of instructions that manipulate the data within an object (Points : 2) True

False

1 Answer

5 votes

Answer: True

Step-by-step explanation:

A method is the collection and set of the instruction that basically used to manipulate the data within the object. It basically perform specific task and we can easily reuse the given code various times without retyping the program again.

When we use methods it save lots of time as we can easily reuse the given code. Object function is known as methods where we can manipulate the data according to the needs of the programmer, when the data are define in the particular object.

User Nerdenator
by
4.9k points