docstr: Initialize python List with capacity of 10 or user given input.
  Python List type is a dynamic array, so we have to restrict its
  dynamic nature to make it work like a static array.
docstr_tok: ["Initialize","python","List","with","capacity","of","10","or","user","given","input",".","Python","List","type","is","a","dynamic","array",",","so","we","have","to","restrict","its","dynamic","nature","to","make","it","work","like","a","static","array","."]
code: def __init__(self, capacity=10):
      """
      Initialize python List with capacity of 10 or user given input.
      Python List type is a dynamic array, so we have to restrict its
      dynamic nature to make it work like a static array.
      """
      super().__init__()
      self._array = [None] * capacity
      self._front = 0
      self._rear = 0
  
imports: from abc import ABCMeta, abstractmethod
label_desc: Use image node_id 1 to create a new ArrayQueue object from inherited base classes: AbstractQueue with example: obj = ArrayQueue(capacity)