Struts Exam
1) | In Following Code 01: public class MyForm extends ActionForm { 02: 03: private String field; 04: 05: public void setField(String value) { 06: field = value; 07: } 08: 09: public String getField() { 10: return field; 11: } 12: 13: public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 14: ActionErrors errors = new ActionErrors(); 15: return errors; 16: } 17: 18: } What will be the expected result when you try to compile and execute it? |