Question: a . Create a class named BloodData that includes String fields that hold a blood type ( the four blood types are O , A

a. Create a class named BloodData that includes String fields that hold a blood type (the four blood types are O,A,B, and AB) and an Ractor (the factors are + and -). Create a default constructor that sets the fields to O and + and an overloaded constructor that requires values for both fields. Include get and set methods for each field. Save this file as BloodData.java.
 a. Create a class named BloodData that includes String fields that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!