The dequeue method will also use method incrementIndex to add one to frontIndex (with wrap-around) before returning the value that was at the front of the queue. The other queue methods (empty and size) are the same as those methods for the Stack class -- they just use the value of the numItems field.
In other words, drinking alcohol is not entirely positive. Excessive drinking can cause increased risk of stroke, arrhythmia (irregular heartbeat), and heart muscle disease. Excessive calories that you can get from alcohol can raise your triglyceride (another kind of bad cholesterol). And the increased triglyceride can be potential to affect your LDL to rise.
Alcohol consumption can cause both high and low blood sugar. Blood glucose levels, also known as blood sugar levels, can be influenced by alcohol consumption. Interestingly enough, though, different amounts of alcohol can have opposite effects on blood sugar. While moderate amounts of alcohol can create a rise in blood sugar, excessive alcohol consumption can cause blood sugar levels to drop to dangerously low levels. These effects, however, are mostly associated with diabetics.