Write a class called Person.java that has instance variables matric number, name, date of birth, and gender. Use appropriate data types for these instance variables. Include constructor and set and get methods for all instance variables. Draw UML diagram for class Person.
Then, create an application class that asks the user to supply the required information for a Person object and then instantiates a Person object.