class Book { private Chapter[] chapters = new Chapter[5]; } class Chapter { private Book book; }
这是实现上述关系的正确方法吗?我需要对此进行解释.谢谢.
java uml composition relationship
composition ×1
java ×1
relationship ×1
uml ×1