JAVA It is 3 part easy question. The other 2parts depend on the first part. Need it in 1 hour please experts.Your help will be appreciated

Given the solution from question 1, implement the followingadditions.
Write a class called PalindromicDates thatimplements the above method and also maintains the following datamembers:
int[]dateNumber (storedas 12022021, for example)
String[]date (storedas 12-02-2021, for example)
The method getPalindromicDate will also storethe valid dates into the appropriate index of the data memberarrays (see above). T
The driver should maintain an
PayPal Gateway not configured
PayPal Gateway not configured