Static attribute exists only once for each class and instance attribute exists separately for every instance of the class. Similar to static method and instance methods - We can call a static attribute through class and instance attribute through object of the class.
Attributes are the data objects of a class which are accessible by all methods of the class. Parameters( Importing, Exporting, Changing, Returning) are methods specific.
super sir iam a big fan of you
Thank you.
U r the best sir.
Thank you.
what is the difference between static and Instance attributes?
Static attribute exists only once for each class and instance attribute exists separately for every instance of the class. Similar to static method and instance methods - We can call a static attribute through class and instance attribute through object of the class.
very good explanation
Thank you very much.
Sir what is meant by attributes here? What is the diff bet attributes and parameters?
Attributes are the data objects of a class which are accessible by all methods of the class. Parameters( Importing, Exporting, Changing, Returning) are methods specific.