Oracle
1Z0-241 · Question #3
Examine this PeopleCode snippet: class OCP_ROWSET extends Rowset; property integer FilledRowCount get; method OCP_ROWSET(&strRecName As string, &strDataFId As string, &strGetOrCreate As string)…
The correct answer is A. OCP_ROWSET is the constructor method for the OCP_ROWSET class. See the full explanation below for the reasoning.
Question
Examine this PeopleCode snippet:
class OCP_ROWSET extends Rowset;
property integer FilledRowCount get;
method OCP_ROWSET(&strRecName As string, &strDataFId As string, &strGetOrCreate As string);
method InsertRow(&iRow As integer) Returns boolean;
Select the correct statements. (Choose all that apply.)
Options
- AOCP_ROWSET is the constructor method for the OCP_ROWSET class.
- BExecuting the RO_ROWSET method instantiates an object of the OCP_ROWSET class.
- CThe OCP_ROWSET method runs automatically whenever an object is instantiated using the OCP_ROWSET class.
- DThe OCP_ROWSET method must initialize the ROWSET class.
- EThe OCP_ROWSET method is added to the ROWSET class, and, by extension, to any instances of the ROWSET class.
How the community answered
(33 responses)- A85% (28)
- C3% (1)
- D3% (1)
- E9% (3)
Community Discussion
No community discussion yet for this question.