一中英惯用例句:
| - 若想在一次布尔测试中使用一个非布尔值——比如在if(a)里,那么首先必须用一个条件表达式将其转换成一个布尔值,例如if(a!=0)。
If you want to use a non-boolean in a boolean test, such as if(a), you must first convert it to a boolean value using a conditional expression, such as if(a != 0). - 在循环刚开始时,会计算一次“布尔表达式”的值。而对于后来每一次额外的循环,都会在开始前重新计算一次。
The Boolean-expression is evaluated once at the beginning of the loop and again before each further iteration of the statement. - 大家可以看到,除boolean以外,任何一种主类型都可通过造型变为其他主类型。
You can see that, with the exception of boolean, any primitive type can be cast to any other primitive type. - 一种布尔运算符,当与其相关联的两个变量中仅有一个为真时,其真值表才取值为真。
A Boolean operator that gives a truth table value of true if only one of the two variables it connects is true. - java允许我们将任何主类型“造型”为其他任何一种主类型,但布尔值(bollean)要除外,后者根本不允许进行任何造型处理。
Java allows you to cast any primitive type to any other primitive type, except for boolean, which doesn’t allow any casting at all. - 在java里,这个表达式的结果并不是布尔值,而编译器期望的是一个布尔值,而且不会从一个int数值中转换得来。所以在编译时,系统就会提示出现错误,有效地阻止我们进一步运行程序。
In Java, the result of this expression is not a boolean, and the compiler expects a boolean and won’t convert from an int, so it will conveniently give you a compile-time error and catch the problem before you ever try to run the program. - 逻辑运算符and(&&)、or(||)以及not(!)能生成一个布尔值(true或false)——以自变量的逻辑关系为基础。
The logical operators AND (&&), OR (||) and NOT (!) produce a boolean value of true or false based on the logical relationship of its arguments. - 注意java不允许我们将一个数字作为布尔值使用,即使它在c和c++里是允许的(真是非零,而假是零)。
Note that Java doesn’t allow you to use a number as a boolean, even though it’s allowed in C and C++ (where truth is nonzero and falsehood is zero). - 唯一不会得到编译错误的时候是x和y都为布尔值。在这种情况下,x=y属于合法表达式。而在上述情况下,则可能是一个错误。
(The only time you won’t get a compile-time error is when x and y are boolean, in which case x = y is a legal expression, and in the above case, probably an error.) - 今年是繁荣昌盛的一年。
It's a boom year this year. - 在一个工业飞速发展的城市里,土地资源非常宝贵,不能任意地用于交通。
In a city with booming industry, land is precious and cannot be extravagantly used for traffic. - 炸药轰隆一声,山石崩裂。
Boom!The dynamite sent the rocks flying. - 炸药轰隆一声,山石崩裂。
Boom! The dynamite sent the rocks flying. - 兴旺之城一个正在经历经济或人口迅速增长的城市
A town experiencing an economic or a population boom. - 我们在战后繁荣的年代里,曾经有过一个时期很走运。
We had a good innings in the boom after the war. - 一个在生育高峰之后出生率大副度降低的时候出生的人。
a person born in the generation following the baby boom when the birth rate fell dramatically. - 束帆索一种绳子或帆布带,用来把一个卷叠的帆置于一横木或斜桁上
A cord or canvas strap used to secure a furled sail to a yard boom or gaff. - 起重机一种用连在活动架上的缆绳举起和移动重物的机器
A machine for hoisting and moving heavy objects by means of cables attached to a movable boom. - 我们倒也很小心看守着——可是他一走出法庭,就溜之大吉了。
We kept a good look out, too-but he topped his boom directly he was outside the court. - 居民们一直抱怨喷气式飞机在作超音速飞行时所产生的“音爆。”
Residents have been complaining of the "boom" which is heard whenever a jet breaks through the sound barrier. - 生育高峰期出生的一代已经年过半百,他们中的大部分人过不了几年将会退休。
The baby-boom generation has entered its 50s and over the next few years will be retiring in 1arge numbers. - 一种澳大利亚的飞去来器;一端平,一端弯曲。
an Australian boomerang; one side flat and the other convex. - 返回到初始位置;像一个回飞棒。
return to the initial position from where it came; like a boomerang. - 这位歌剧演唱家有一副深沉而又浑厚有力的嗓音。“he”
The opera singer has a deep, booming, masculine voice. - 技术是一个迅速发展的经济部门。
Technology is a booming sector of the economy. - 作为一位教师他正日趋成功。
He is booming as a teacher. - 反映社会进步的一面是计算机的拥有者和互联网的连接在飞速的发展。
The upside is that computer ownership and Internet connectivity are booming. - 这样做,为的是造成一个生意兴隆的样子。
This was done to put on an appearance of booming business. - 在美国,一个蓬勃兴起的管理人员市场使得具有所需技能的雇员较为容易地表现出他们自己的工作风格。
In the United States,a booming executive job market makes it easier for employees with the required skills to write their own workstyle. - 麻鸠,小鹭一种麻属和粘豆象属的涉水禽鸟,有斑驳的褐色羽毛,其雄鸟有悠长而嘹亮的叫声
Any of several wading birds of the genera Botaurus and Ixobrychus, having mottled, brownish plumage and a deep, booming cry in the male. - 在经济衰退期,因为许多公司破产倒闭,所以财产管理人的事业心兴旺发达——一家得利而另一家遭殃。
Business was booming for the official receiver as many companies went bankrupt during the recession – one man's meat is another man's poison. - 看到中国飞速发展的今天,我们有理由相信中国将有一个更辉煌的明天。
Seeing the China's booming developmental today, we have every reason to look forward to a still bright further for China.
|
|
|