问题
填空题
在Java程序中,主线程一般具有______优先级。
答案
参考答案:普通
解析: Java中的线程是有优先级的。Thread类有3个有关线程优先级的静态常量:MIN_PRIORITY——最小优先级,通常为1;MAX_PRIORITY——最大优先级,通常为10;NORM_PRIORITY——普通优先级,默认值为5。一般情况下,主线程具有普通优先级。
在Java程序中,主线程一般具有______优先级。
参考答案:普通
解析: Java中的线程是有优先级的。Thread类有3个有关线程优先级的静态常量:MIN_PRIORITY——最小优先级,通常为1;MAX_PRIORITY——最大优先级,通常为10;NORM_PRIORITY——普通优先级,默认值为5。一般情况下,主线程具有普通优先级。
I’m always not sure whether my parents love each other or not. Every day they are very busy making money so that they can a good life for my sister and me. They don’t act in the usual ways that I read in books or I see on TV. Also, they never send to each other on Feb, 14. One day, my mother was sewing* a quilt. I quietly sat down beside her. ![]() “Is there love you and Dad?” asked I. With a little surprise in her eyes, my mother stopped to raise her head and me. She said for long time. At last I heard my mother’s voice: “Jane,” she said, “Look at this thread*. sometimes it appears, most of it disappears in the quilt. The thread really makes the quilt strong and lasting. If life is a quilt, then should be a thread. It can hardly be seen anywhere or anytime, but it’s really there, and disappears.” I listened carefully but I couldn’t understand her the next spring, when my father suddenly got seriously. My mother had to look after him in the hospital for a month. When they home, every day in the morning and evening, my mother helped my father walk slowly. They often walked without a word. And after two months, my father still couldn’t walk by . All of us were worried about him very much. “Dad, are you feeling now?” I asked him one day. “Jane,nothing serious. To tell you the truth, I just like with your mom. I like this kind of life,even if I cannot walk anymore.” Reading his eyes, I know he loves my mother deeply. Once I thought love meant good presents and sweet kisses. But now, I understand that love is just like a thread in the quilt. Love is inside, making our nice and warm.
|