Solidity has a fixed and dynamic array value type. Keywords range from bytes1 to bytes32 in a fixed-sized byte array. On the other hand, in a dynamic-sized byte array, keywords can contain bytes or strings. bytes are used for raw byte data and strings is used for strings that are encoded in UTF-8.
length is a member that returns the length of the byte array for a fixed-size byte array or for a dynamic-size byte array.
A fixed-size array is initialized as test[10], and a dynamic-size array is initialized as test2[.