Oracle
1Z0-419 · Question #5
Which code sample is the recommended way to override the createQ method in Employeeslmpl, an implementation of oracle.jbo.serverEntitylrnpl for the Employr
The correct answer is B. protected void create(AttributeList attributeList) { super create(attnbuteList). See the full explanation below for the reasoning.
Question
Which code sample is the recommended way to override the createQ method in Employeeslmpl, an implementation of oracle.jbo.serverEntitylrnpl for the Employr
Options
- Aprotected void create(AttributeList attributeList) { SetAttributelnternal (SALARY, 0);
- Bprotected void create(AttributeList attributeList) { super create(attnbuteList),
- Cprotected void create(AttributeList attributeList) { super create(attributeList); setSalary(O); }
- Dprotected void create(Attributel_ist attributeList) { setSalary(O);}
How the community answered
(30 responses)- A13% (4)
- B73% (22)
- C3% (1)
- D10% (3)
Community Discussion
No community discussion yet for this question.