DEV Community

Rainy Days
Rainy Days

Posted on

Stuck on my code

I have issues on my GovernmentOrUnit can anyone make it work??

Top comments (2)

Collapse
 
kzwisler1 profile image
Kzwisler1 • Edited

In your GovernmentOrgUnit class, you have a method at the bottom,
public void setClearance(int )
your error is because you do not have a parameter declared. It needs to look like this:
public void setClearance(int a)
or
public void setClearance()
if you do not intend to pass anything

Collapse
 
bertilmuth profile image
Bertil Muth

What are the issues?