In graphical user interfaces and application frameworks, menus can contain sub-menus (which are also objects of the menu type), allowing recursive nesting of the same object type. Forms, tables, inquiries, and commands typically cannot contain instances of themselves directly in the same conceptual hierarchy.