YouneedtostoreaJavalongprimitiveattribute,calledcustomerOID,intothesessionscope.Whichtwo codesnippetsallowyoutoinsertthisvalueintothesession?() A.longcustomerOID=47L;session.setAttribute(customerOID,newLong(customerOID));B.longcustomerOID=47L;session.setLongAttribute(customerOID,newLong(customerOID));C.longcustomerOID=47L;session.setAttribute(customerOID,customerOID);D.longcustomerOID=47L;session.setNumericAttribute(customerOID,newLong(customerOID));
YouneedtostoreaJavalongprimitiveattribute,calledcustomerOID,intothesessionscope.Whichtwo codesnippetsallowyoutoinsertthisvalueintothesession?()
A.longcustomerOID=47L;session.setAttribute("customerOID",newLong(customerOID));
B.longcustomerOID=47L;session.setLongAttribute("customerOID",newLong(customerOID));
C.longcustomerOID=47L;session.setAttribute("customerOID",customerOID);
D.longcustomerOID=47L;session.setNumericAttribute("customerOID",newLong(customerOID));