推扬网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
推扬网 门户 你问我答 查看内容

徐虎:java的other:是什么意思

2020-8-11 18:55| 发布者: admin| 查看: 62| 评论: 0

摘要: 伍志坚的回答: 我没有看到other 程序里有outer 就想其他语言中的go差不多 但是只有循环中有 而且基本上也不这么用。。 有这种写法 但是实际开发中基本上被废弃了 杨中武的回答: 我没有看到other 程序里有outer 就 ...

伍志坚的回答:

我没有看到other 程序里有outer 就想其他语言中的go差不多 但是只有循环中有 而且基本上也不这么用。。 有这种写法 但是实际开发中基本上被废弃了

杨中武的回答:

我没有看到other 程序里有outer 就想其他语言中的go差不多 但是只有循环中有 而且基本上也不这么用。。 有这种写法 但是实际开发中基本上被废弃了

????i的回答:

你好! createVerticalStrut public static Component createVerticalStrut(int height)Creates an invisible, fixed-height component. In a vertical box, you typically use this method to force a certain amount of space between two components. In a horizontal box, you might use this method to force the box to be at least the specified height. The invisible component has no width unless excess space is available, in which case it takes its share of available space, just like any other component that has no maximum width. Parameters: height - the height of the invisible component, in pixels >= 0 Returns: the component 简单的说作用是 设的两个控件的垂直距离. 如果对您有帮助,请记得采纳为满意答案,谢谢!祝您生活愉快! vaela 记得给问豆啊!

张喜秋的回答:

标签 用来标记下一次符合要求的循环从这个标签开始; 当条件 continue outer满足时会跳到other:处

洪丽华的回答:

没看到有other:啊 你说的outer:吧,这就是一个标号。程序里面的continue配对使用。当程序执行到continue outer时,就跳转到outer:处开始执行。 不建议这样使用,不太好。


鲜花

握手

雷人

路过

鸡蛋

最新评论

热门推荐
最新资讯

广告服务|投稿要求|禁言标准|版权说明|免责声明|手机版|小黑屋|推扬网 ( 粤ICP备18134897号 )|网站地图 | 邮箱:vayae@hotmail.com

GMT+8, 2025-5-1 17:03 , Processed in 0.060832 second(s), 29 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

返回顶部