Algs4-1.1.2给出以下表达式的类型和值

1.1.2给出以下表达式的类型和值
a.(1+2.236)/2
b.1+2+3+4.0
c.4.1>=4
d.1+2+"3"


答:
a)double 1.618
b)double 10.0
c)boolean true
d)String "33"

原文地址:https://www.cnblogs.com/longjin2018/p/9848405.html