Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active March 26, 2021 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcsee/5f9206a8a131b4dcaaa2fd64562c9eca to your computer and use it in GitHub Desktop.
Save mcsee/5f9206a8a131b4dcaaa2fd64562c9eca to your computer and use it in GitHub Desktop.
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