A. Create a Java program that have the following requirements: • Create static variables for gender (female, male) • Create the following instance variables (course, student_name) • Create a static...

please do my assignment due now


A. Create a Java program that have the following requirements: • Create static variables for gender (female, male) • Create the following instance variables (course, student_name) • Create a static method named showGenderstats() o The method will determine which gender has a higher number. o It will display the gender that has the higher number. Example : “Female is much higher than Male” • Create an instance method named greetMe() o The method will display “Hi , good day!” • Create an instance method named showCourse() o The method will determine and display the course description of the student base on the following course code: Course_code Description C Computer Engineering E Electrical Engineering M Mechanical Engineering I Industrial Engineering B. Create the main method that will access the static and instance members,static and instance methods. Sample Output: Hi Anne, good day! You are a Computer Engineering student. Female is much higher than Male
Mar 17, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here