Question: It is Java ACTIVITY5 Define the missing method. licenseNum is created as: (100000 customID)+licenseYear.Sample output Dog license: 77702014 5.1.3: Basic class definition ! //-:.. Code

 It is Java ACTIVITY5 Define the missing method. licenseNum is created

as: (100000 customID)+licenseYear.Sample output Dog license: 77702014 5.1.3: Basic class definition !

It is Java

ACTIVITY5 Define the missing method. licenseNum is created as: (100000 customID)+licenseYear.Sample output Dog license: 77702014 5.1.3: Basic class definition ! //-:.. Code from fil 2 public class Doglicense 3 private int licenseYear 4 private int licenseNum; e Doglicense.java :=.. 6 public void setYear(int yearRegistered) licenseYear -yearRegistered; 10 I FIXME: Write createLicenseNum) 12 Your solution goes here 13 14 public int getlicenseNum) 15 16 17 18 | //-..-end return licenseNum; 20 // ###== Code from file CallDogLicense.java =#=== 21 public class CallDogLicense f 22 public static void main (String [ args) DogLicense dog1 new DogLicense) 24 25 26 27 28 29 30 h 31 // dog1.setYear(2014); dog1.createLicenseNum(777); System.out.println("Dog license:dog1.getlicenseNum()); end

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!