C Abap Question3
C Abap Question3
With Icl_super being superclass for Icl_sub1 and Icl_sub2 and with methods
sub1_meth1 and sub2_meth1 being subclass-specific methods of Id_sub1 or Icl_sub2,
respectively
What will happen when executing these casts? Note: There are 2 correct answers to
this question
A. go_sub1->sub1_meth 1(…). will work.
B. go sub2->sub2 meth 1(...). will work
C. go sub1 = CAST # go super), will not work
go_sub2 = CAST # go super), will work.
D. go_sub1 CAST #go_super), will work
go_sub2 = CAST #(go_super). will not work.
Answer A D Question 10
Setting a field to read-only in which object would make the field read-only in all
applications of the RESTful Application Programming model?
A. Service definition
B. Metadata extension
C. Behaviour definition
D. Projection view
Answer C
Question 11
What are some features of a unique secondary key? Note: There are 2 correct answers
to this question.
A. It is created with the first read access of a table.
B. It is created when a table is filled.
C. It is updated when the table is modified.
D. It is updated when the modified table is read again.
Answer A C Question 12
Which of the following results in faster access to internal tables? Note: There are
3 correct answers to this question.
A. In a sorted internal table, specifying the primary key partially from the left
without gaps.
B. In a hashed internal table, specifying the primary key completely.
C. In a sorted internal table, specifying the primary key completely.
D. In a standard internal table, specifying the primary key partially from the left
without gaps.
E. In a hashed internal table, specifying the primary key partially from the left
without gaps.
Answer A B C Question 13
You want to define the following CDS view entity with an input parameter:
Define view entity Z_CONVERT With parameters currency : ???
Which of the following can you use to replace "???? Note: There are 2 correct
answers to this question.
A. A built-in ABAP Dictionary type
B. A data element
C. A built-in ABAP type
D. A component of an ABAP Dictionary structure
Answer A B
Question 14
Match the sequence of execution in the dropdown list to the operation. (1 is the
highest priority and 3 is the lowest priority.)
A. Addition (+) and Subtraction (-)Choose an item.
B. Numeric functions Choose an item.
C. Multiplication (") and Division (/)Choose an item.
Answer
B is 1
C is 2
A is 3. (put in this order in exam)
Question 15
In a subclass sub1 you want to redefine a component of a superclass super1. How do
you achieve this? Note: There are 2 correct answers to this question.
A. You add the clause REDEFINITION to the component in sub1.
B. You implement the redefined component in sub1.
C. You implement the redefined component for a second time in super1.
D. You add the clause REDEFINITION to the component in super1.
Answer A B