is this class thread safe?

Posted by flash on Stack Overflow See other posts from Stack Overflow or by flash
Published on 2010-04-16T13:58:04Z Indexed on 2010/04/16 14:03 UTC
Read the original article Hit count: 160

Filed under:
|
|

consider this class,with no instance variables and only methods which are non-synchronous can we infer from this info that this class in Thread-safe?

public class test{

public void test1{

// do something

}

public void test2{

// do something


}

public void test3{

// do something

}



}

© Stack Overflow or respective owner

Related posts about java

Related posts about threads