0

what are attributes

what are different types of attributes

13th Jul 2016, 12:45 PM
satyam
satyam - avatar
2 Answers
+ 1
attributes is what object knows
13th Jul 2016, 10:17 PM
Sunusi Muhammad Raji
Sunusi Muhammad Raji - avatar
+ 1
Example: class Person { int age; //attribute String name; //attribute Color eyecolor; //attribute ... }
14th Jul 2016, 1:02 PM
FreakManMega