Implement a queue using an array and discuss its shortcomings.
Implementing a queue using an array is a common approach to manage a collection of elements where the first element added is the first one to be removed (FIFO - First In, First Out principle).