Question: Exercise 1 : A directory has a name and permissions to read, execute, and write. 1 . Propose a class model of this directory. A
Exercise :
A directory has a name and permissions to read, execute, and write.
Propose a class model of this directory.
A file has a name and permissions to read, execute, and write.
Propose a class model of this file.
Make these two concepts coexist on the same diagram by proposing a generalization.
A directory can contain directories and files.
Propose a modeling of these relationships.
Files and directories have a method for erasing and renaming. A directory also has a method for accessing the parent directory, a method for listing its content and a method for accessing one of its subdirectories by specifying its name.
Complete your class diagram with the necessary access methods.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
