Java thread …importance of synchronization!!!

 

Java_thread1

Java_thread2
package SchizoPhrenia;
public class SchizophreniaSymptoms {
public static void main(String[] args) {
/*vague symptoms*/
String[] symptoms = {“catatonia”,”depression”,”delusion”,”halluinations”,”disorganized thinking”,”abnormal motor behavior” };
for(String temp : symptoms){
System.out.println(temp);
}
}

}

Java_Schozophrenia