Are methods attributes?

attributes are the features of the objects or the variables used in a class whereas the methods are the operations or activities performed by that object defined as functions in the class .

Sizin İçin Seçtik  What is class with example in C?

Leave a Reply

Your email address will not be published. Required fields are marked *