以下哪个关键字可以用来对对象加互斥锁?( )(本题1.0分)
A. transient
B. synchronized
C. serialize
D. static
出自:平顶山学院-计算机网络技术-Java程序设计(高起专)