设为首页 加入收藏

TOP

Threads
2011-06-09 12:58:53 来源: 作者: 【 】 浏览:729次 评论:0
7) Threads
Objective 1)
Write code to define, instantiate and start new threads using both java.lang.Thread and java.lang.Runnable
·    Java is fundamentally multi-threaded.
·    Every thread corresponds to an instance of java.lang.Thread class or a sub-class.
·    A thread becomes eligible to run, when its start() method is called. Thread scheduler co-ordinates between the threads and allows them to run.
·    When a thread begins execution, the scheduler calls its run method.
Signature of run method
您看到此篇文章时的感受是:
Tags: 责任编辑:administrator
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到QQ空间
分享到: 
上一篇JAVA程序员必读:基础篇(5) 下一篇JAVA程序员必读:基础篇(7)

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

相关栏目

最新文章

图片主题

热门文章

推荐文章

相关文章

广告位