The matrix structure is a structure in which jurisdiction, controls and duties are carried and uphold by a group of employees instead of just the manager.
In other words, employees have dual reporting relationships; they can give reports to the functional manager and they can also give reports to the product manager.
The Bennetton design selected by the network of Bennetton retail sales agents made activities to be easily coordinated because, they have collectively performed the duty as a unit and this is one of the advantages of this form of the matrix organizational structure.
Committee structures are implemented in organizations in an attempt to have different components of an organization providing an opinion on certain matters of the operations of the business. In most cases, the committee is composed of members of the same department of the company so it will be easier for them to gather and make decisions. In such organizations, top managers are not the only ones choosing the set of actions the entity will take.
str[0] is pointing to the first character of the entire string and the code str[0].toUpperCase() will convert the characters to upper case if they are in lowercase and will remain unchanged if they are already in upper case.