Question: 3 8 2 0 8 3 2 2 1 5 0 2 graz 0 ? Jump to level 1 In the SailorLicense class, complete the

382083221502 graz0?
Jump to level 1
In the SailorLicense class, complete the public method definition for setYear(O with the integer parameter customYea Ex. If the input is 51070,2000, then the output is:
License id: 510
License fee: 70
License year: 2000
public class SailorLicense {
private int id;
private int fee;
private int year;
public void setid(int customid){
id = customId;
}
public void setfee(int customfee){
fee = customFee;
}
1/ your code goes here */{
}
year = customyear;
public int getid(){
2
 382083221502 graz0? Jump to level 1 In the SailorLicense class, complete

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!