XiaoLongWei1996 / blok_comment

博客评论
0 stars 0 forks source link

Java并发知识 | 威@猫的博客 #8

Open XiaoLongWei1996 opened 5 months ago

XiaoLongWei1996 commented 5 months ago

http://118.178.195.3/2024/05/19/Java%E5%B9%B6%E5%8F%91%E7%9F%A5%E8%AF%86/

JAVA并发锁:1.java实现线程的方式:1)继承Thread类:/继承Thread并重写run方法/ public class MyThread extends Thread{

@Override
public v