I don't know where this came from, but it needs correcting before you start. The terms Class, Int, Public and Void are all incorrectly spelled. The correct forms are class, int, public and void; all lower case. Also the class definition is incorrect. You have Class bit queue, but class names are only one word. You also name the constructor Bitqueue, which may or may not match the correct class name. So there is really a lot to learn before you can venture into trying to solve this question.