0
what are attributes
what are different types of attributes
2 Answers
+ 1
attributes is what object knows
+ 1
Example:
class Person {
int age; //attribute
String name; //attribute
Color eyecolor; //attribute
...
}
what are different types of attributes