0% found this document useful (0 votes)
121 views

C Abap Question2

Uploaded by

janilkumar
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
121 views

C Abap Question2

Uploaded by

janilkumar
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Question 4

When accessing the subclass instance through go_super, what can you do? Note: There
are 2 correct answers to this question.
A. Access the inherited private components.
B. Access the inherited public components.
C. Call a subclass specific public method
D. Call inherited public redefined methods.
Answer B D Question 5
Given the following code in an SAP S/4HANA Cloud private edition tenant:
The class zcl_demo_class is in a software component with the language version set
to "ABAP Cloud". The function module ZF1' is in a different software component with
the language version set to "Standard ABAP". Both the class and function module are
customer created.
Regarding line #6, which of the following are valid statements? Note: There are 2
correct answers to this question.
A. ZF1' can be called only if it is released for cloud development.
B. 'ZF1' can be called if a wrapper is created for it and the wrapper itself is
released for cloud development.
C. "ZF1" can be called whether it is released or not for cloud development
D. ZF1" can be called if a wrapper is created for it but the wrapper itself is not
released for cloud development.
Answer A B
Question 6
You have attached a system field to an input parameter of a CDS view entity as
follows:
What are the effects of this annotation? Note: There are 2 correct answers to this
question.
A. It is no longer possible to pass your own value to the parameter.
B. You can still override the default value with a value of your own.
C. The value of sy-langu will be passed to the CDS view automatically when you use
the CDS view in ABAP but not when you use it in another view entity
D. The value of sy-langu will be passed to the CDS view automatically both when you
use the CDS view in ABAP and in another CDS view entity (view on view).
Answer B C Question 7
In the assignment. data (gv_result) = 1 / 8.
what will be the data type of gv_result?
A. TYPE I
B. TYPE P DECIMALS 2
C. TYPE DEFLOAT 16
D. TYPE P DECIMALS 3
Answer A Question 8 Given this code,
What are valid statements? Note: There are 3 correct answers to this question
A. In class CL2, the interface method is named if1-m1.
B. Class CL2 uses the interface.
C. In class CL1, the interface method is named if-m1.
D. Class CL1 uses the interface.
E. Class CL1 implements the interface.

You might also like