Youneedtostoreafloatingpointnumber,calledTsquare,inthesessionscope.Whichtwocodesnippetsallowyoutoretrievethisvalue?()A.floatTsquare=session.getFloatAttribute("Tsquare");B.floatTsquare=(Float)session.getAttribute("Tsquare");C.floatTsquare=(float)session.ge

题目
Youneedtostoreafloatingpointnumber,calledTsquare,inthesessionscope.Whichtwocodesnippetsallowyoutoretrievethisvalue?()

A.floatTsquare=session.getFloatAttribute("Tsquare");

B.floatTsquare=(Float)session.getAttribute("Tsquare");

C.floatTsquare=(float)session.getNumericAttribute("Tsquare");

D.floatTsquare=((Float)session.getAttribute.("Tsquare")).floatValue();

E.floatTsquare=((Float)session.getFloatAttribute.("Tsquare")).floatValue;


相似考题
参考答案和解析
参考答案:B, D