题目是:
Develop a small program in Java
that does the following:
· a parent process creates a child process that prints its PID
· the child creates a grandchild and sleeps 120 seconds
· the grandchild immediately exits
· the parent sleeps for 60 seconds and then kills all the processes
Develop a small program in Java
that does the following:
· a parent process creates a child process that prints its PID
· the child creates a grandchild and sleeps 120 seconds
· the grandchild immediately exits
· the parent sleeps for 60 seconds and then kills all the processes
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货