I need correct answers for following questions. Java questionsCOMP 274Week 5 Homework QuestionsAnswer the following questions:1. Describe the graphical coordinate system in Java. Where is the origin? Whatunits apply to the x,y coordinates?Java Graphical…