java ?: 问题

return (compare(firstname1, firstname2) == 0 ?
(compare(lastname1, lastname2) == 0 ? (compare(sex1, sex2) == 0 ? (compare(age1, age2) == 0 ? 0 :
compare(age1, age2)) :
compare(sex1, sex2)) :
compare(lastname1, lastname2)) :
compare(firstname1, firstname2));
":"后的是什么意思

holdtom
浏览 571回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java