Could you tell me what's wrong with this code? Why the last requirement isn't met?
package pl.codegym.task.task17.task1706;
/*
Zsynchronizowany prezydent
*/
public class Solution {
public static void main(String[] args) {
OurPresident expectedPresident = OurPresident.getOurPresident();
OurPresident ourPresident = OurPresident.getOurPresident();
System.out.println(expectedPresident == ourPresident );
}
}