Computer Science, asked by anjuhemant502, 6 months ago

example of instance method​

Answers

Answered by akshat679615755
0

The methods (that is, subroutines) that the object contains are called instance methods. For example, if the PlayerData class, as defined above, is used to create an object, then that object is an instance of the PlayerData class, and name and age are instance variables in the object. please mark me as brainly

Answered by tamannagoyal78
0

Answer:

The methods (that is, subroutines) that the object contains are called instance methods. For example, if the PlayerData class, as defined above, is used to create an object, then that object is an instance of the PlayerData class, and name and age are instance variables in the object.

hope it helps you

Similar questions