04 Dec 2020
Make a Student class with the following data fields: name (String), age (int), isEngineeringMajor (boolean), and gender (char). The class must have a “get” method for each field (e.g. getAge(), getName() ) and a “set” method for each field (e.g. setAge(), setName() ). Provide two constructors (one with four arguments and a default constructor with no args). Note: the data fields must all be private. Create two students in the main() method, one using each constructor and display their output values.