正在加载图片...
Slide 9 a variable can be initialized in a declaration int x=3 Several variables of the same type can be declared in the same declaration( though it is better to put them on separate lines) int height, width; A variable must have only one type. For example, a variable of the type int can only hold integer valuesSlide 9 • A variable can be initialized in a declaration: int x = 3; • Several variables of the same type can be declared in the same declaration (though it is better to put them on separate lines): int height, width; • A variable must have only one type. For example, a variable of the type int can only hold integer values
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有