Solved

Consider the Following Code Fragment: Public String CheckCity()

Question 69

Multiple Choice

Consider the following code fragment: public String checkCity()
{
Zone = getTimeZone(city) ;
If (zone == null) { return "error"; }
Return "next";
}
Which JSF statement will call this method?


A) <h:inputText value="#{timeZoneBean.city}"/>
B) <h:commandButton value="Submit" action="#{timeZoneBean.checkCity}"/>
C) <h:inputText value="#{timeZoneBean.City}"/>
D) <h:commandButton value="Submit" action="#{timeZoneBean.city}"/>

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents