Difference between Stack and Queue Data Structure in Java? Example

Difference between Stack and Queue Data Structure in Java? Example