byhieg / javatutorial Goto Github PK
View Code? Open in Web Editor NEWJava教程,包括多线程,泛型,反射,IO,容器类,注解
License: MIT License
Java教程,包括多线程,泛型,反射,IO,容器类,注解
License: MIT License
cn.byhieg.threadtutorial.char02.HasSelfPrivateNum他的成员变量num应该为static
你好,这句话有误了,根据interrupted方法的注释,应该是:如果连续两次调用interrupted(),第一次如果是true,第二次一定是false.因为此方法只会清除被中断的状态,而不会主动设置中断状态。
markdown的代码区域```加上java 使代码颜色高亮,读起来更舒服
我使用idea导入了项目,然后想跑一下test,右键run 就说test framework quit unexpectedly
class not found :.......
找不到test文件,是为啥呀
ComplexCurrentThreadTest测试结果与ReadMe里的说明结果不符合
begin=========
Thread.currentThread().getName=main
this.getName()=Thread-0
end===========
run begin=======
Thread.currentThread().getName=Thread-1
this.getName()=byhieg
run end==========
这是我在eclipse里的执行结果,在执行run的时候Thread.currentThread().getName的结果是Thread-1而不是上面设置的byhieg
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.