I have no idea what should I put in this
synchronized( here ) , what should I put there ? and why ?
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 );
}
}