In a project management application, a 'Task' object has been created to track work items. If you want to record the due date for a 'Task', which aspect of the 'Task' object will you utilize?
An attribute is used to store data related to an object. In this case, the due date of a 'Task' object is a piece of information that characterizes the task, making it an attribute of that object. Therefore, to record the due date, we would use an attribute specifically intended for this purpose within the 'Task' object.
Learn More
AI Generated Content may display inaccurate information, always double-check anything important.
What is an attribute in object-oriented programming?
What is the difference between an attribute and a method?
What does it mean to 'record a due date' for a task?