Objective: implement Queue and Stack data structures in Javausing Java collections. This assignment simulate DMV carregistration in a simple scenario. We have several cars in a line(queue) and some license plates keeping in form of stack. We assigneach car from the queue one license plate from the stack. Classes:Car, LicensePlates, Services, RegCar, Test DMV (You should use samename for you class name) —————————————-Class Car has 2 fields: ( 5 points) 1. brand String 2. color String a. constructor Class LicensePlates has 2 fields: ( 5 points)1. plate String 2. State String a. Constructor Class Service has2 methods :
PayPal Gateway not configured
PayPal Gateway not configured