正在加载图片...
Data Item declaration x Data items are used to store data Such as fields. local variables. constants t We give name(an identifier) to each data item e. g. Ma liu shui, Tai Po road, shatin is a piece of data This information is called CUHKaddress k Each data item must bear a type e.g. CUHKaddress is of type String(text) K凶心 2008-20092a Michael Fung, CS&E, The Chinese University of HK2008-2009 2a Michael Fung, CS&E, The Chinese University of HK 7 Data Item Declaration  Data items are used to store data. – Such as fields, local variables, constants, …  We give name (an identifier) to each data item. – e.g. “Ma Liu Shui, Tai Po Road, Shatin.” is a piece of data. This information is called CUHKaddress.  Each data item must bear a type. – e.g. CUHKaddress is of type String (text)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有