Java-forums.org and Javaprogrammingforums.com are two different websites....
Type: Posts; User: pinotje
Java-forums.org and Javaprogrammingforums.com are two different websites....
Hi all,
I've a Java code (GWT):
package com.practicum.client.out;
import java.util.ArrayList;
I've asked my teacher, he said that if I remove the "synchronized" then I'll get a random result.
So if I remove "synchronized" then I'll get that random output, if I add "synchronized" then the...
Okay, I'll complain my teacher.... =P
Yup, That's exactly what I'm thinking....
so maybe it's a little mistake in the school assignment...?
or maybe I should remove "synchronized" ?
or maybe adjust the "for-lus" ?
just an idea....
Hi,
I'm really sorry, but according to my school assignment, I must do it this way.
Luckily it is not a lot codes, so I think Java-experts can helping me out without compiling it....
Thanks!
Hi all,
This is my code, which I've made for my school assignment:
public class Main {
public static void main (String[] args) throws InterruptedException {
Stand st = new Stand(0);...