Last active
March 26, 2021 19:20
-
-
Save mcsee/5f9206a8a131b4dcaaa2fd64562c9eca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Candidate { | |
void printJobAddress(Job job) { | |
System.out.println("This is your position address"); | |
System.out.println(job.address().street()); | |
System.out.println(job.address().city()); | |
System.out.println(job.address().zipCode()); | |
if (job.address().country() == job.country()) { | |
System.out.println("It is a local job"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment