?!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 亚洲av无码成h人在线观看,亚洲,日韩,欧美综合网

亚洲精品92内射,午夜福利院在线观看免费 ,亚洲av中文无码乱人伦在线视色,亚洲国产欧美国产综合在线,亚洲国产精品综合久久2007

?div class="header_top">
Java知识分n|?- L学习从此开始!    
SpringBoot+SpringSecurity+Vue+ElementPlus权限pȝ实战评 震撼发布        

最新Java全栈׃实战评(免费)

springcloud分布式电(sh)商秒杀实战评

IDEA怹Ȁz?/h2>

66套java实战评无套路领?/h2>

锋哥开始收Java学员啦!

Python学习路线?/h2>

锋哥开始收Java学员啦!
当前位置: 主页 > Java文档 > Java基础相关 >

Principles of programming languages by Gilles Dowek PDF 下蝲


分n刎ͼ
旉:2021-04-30 10:15来源:http://www.sh6999.cn 作?转蝲  侉|举报
Principles of programming languages by Gilles Dowek PDF 下蝲
失效链接处理
Principles of programming languages by Gilles Dowek  PDF 下蝲


本站整理下蝲Q?/strong>
链接Q?a target="_blank">https://pan.baidu.com/s/1Yny19SMC4-fKxoIFuoJHmA 
提取码:rt6r 
 
 
相关截图Q?/strong>
 
主要内容Q?/strong>


1.1.4 Test
A test is a construct that allows the creation of a statement composed of a
boolean expression b and two statements p 1 and p 2 . In Java, this statement is
written if (b) p 1 else p 2 .
To execute the statement if (b) p 1 else p 2 in a state s, the value of
expression b is first computed in the state s, and depending on whether or not
its value is true or false, the statement p 1 or p 2 is executed in the state s.
In Caml, this statement is written if b then p 1 else p 2 . In C, it is writ-
ten as it is in Java.
1.1.5 Loop
A loop is a construct that allows the creation of a statement composed of a
boolean expression b and a statement p. In Java, this statement is written
while (b) p.
To execute the statement while (b) p in the state s, the value of b is first
computed in the state s. If this value is false, execution of this statement is
terminated. If the value is true, the statement p is executed, and the value
of b is recomputed in the new state. If this value is false, execution of this
statement is terminated. If the value is true, the statement p is executed, and
the value of b is recomputed in the new state... This process continues until b
evaluates to false.
This construct introduces a new possible behaviour: non-termination. In-
deed, if the boolean value b always evaluates to true, the statement p will
continue to be executed forever, and the statement while (b) p will never
terminate. This is the case with the instruction
int x = 1;
while (x >= 0) {x = 3;}
To understand what is happening, imagine a fictional statement called
skip; that performs no action when executed. You can then define the state-
ment while (b) p as shorthand for the statement
if (b) {p if (b) {p if (b) {p if (b) ...
else skip;}
else skip;}
else skip;}
else skip;
So a loop is one of the ways in which you can express an infinite object using a
1.2 Input and Output 7
finite expression. And the fact that a loop may fail to terminate is a consequence
of the fact that it is an infinite object.
In Caml, this statement is written while b do p. In C, it is written as it
is in Java.

 

------分隔U?---------------------------
?!-- //底部模板 -->