哪位好人能帮我解释下这个表达式((5>9)?(1>9)?5:1:9)得出的结果为什么是9
moze1988
2009-11-30
两种理解都很透彻 我路过!
|
|
陈志霞1206
2011-03-28
原来是这样,学到咚咚了!!
|
|
ieiayaobb
2011-08-09
if(5>9){
if(1>9){ return 5 } else{ return 1 } } else{ return 9 } 其实嵌套里面的那对if-else根本不执行 |
|
xiaoweige
2011-08-20
呵呵~~~~~
|
相关讨论
相关资源推荐
- 现代c++白皮书(C++17)
- 其于js的五笔输入法!
- org.xml.sax.SAXParseException: Premature end of file.
- spring应用启动异常 org.xml.sax.SAXParseException; Premature end of file.
- Tomcat 报错: javax.naming.NamingException: Premature end of file.实战解决
- Dom4j读取xml时发生错误:Premature end of file. Nested exception: Premature end of file
- Cause: org.xml.sax.SAXParseException; Premature end of file.
- Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
- tomcat报错:严重: Parse Fatal Error at line -1 column -1: Premature end of file. org.xml.sax.SAXParseExce
- Ibatis解析配置文件报错"Premature end of file."