https://www.nowcoder.com/feed/main/detail/065d38df929146aa816d8e3ad8beabee
synchronized锁静态方法和普通方法的区别在于锁定的对象不同。静态方法的锁是锁定类的Class对象,而普通方法的锁是锁定实例对象。