You need to store a floating point number,called Tsquare,in the session scope. Which two code snippetsallow you to retrieve this value?()
- A、float Tsquare = session.getFloatAttribute("Tsquare");
- B、float Tsquare = (Float) session.getAttribute("Tsquare");
- C、float Tsquare = (float) session.getNumericAttribute("Tsquare");
- D、float Tsquare = ((Float) session.getAttribute.("Tsquare")).floatValue();
- E、float Tsquare = ((Float) session.getFloatAttribute.("Tsquare")).floatValue;
正确答案:B,D
答案解析:有

微信扫一扫手机做题