How to Run this Project Open Eclipse New Project Add new Class to project Paste Code in that class named Balls . Run the Project …Enjoy..!!