Professional Documents
Culture Documents
*;
import java.util.Scanner;
}
}
class BloodData{
static String bloodType;
static String rhFactor;
public BloodData(){
this.bloodType= "O";
this.rhFactor= "+";
}
public BloodData(String bt, String rh){
if(bt.isEmpty() || rh.isEmpty()){
BloodData bd = new BloodData();
}else{
this.bloodType= bt;
this.rhFactor= rh;
}