SAP Certification Associate Developer - ABAP Developer Certification


SAP Certification Associate Developer - NetWeaver 7.02 

Class Identification Analysis and Design


1.            What is unique about a singleton?

A. It must be instantiated using a private instance constructor.
B. It must be instantiated using a public instance constructor.
C. It must be instantiated using a protected instance constructor.
D. It must be instantiated using a static private constructor.
E. It must be instantiated using a static public constructor.
F. It must be instantiated using a static protected constructor.
G.It must be defined as FINAL.
H. It cannot be defined as FINAL.

Correct answers: D. G


2.                            What statements are true about a class that has granted friendship to another class:

A. The friend has access to private attributes.
B. The friend has access to protected attributes.
C. The friend has access to public attributes.
D. All of classes the friend has granted friendship access status to also have the same access.
E. All classes that inherit  from the friend (subclasses) also have the same access.

Correct answers: A, B. C.E



3.            There can only be one level in the inheritance tree.

A. True
B.False

Correct answer: B


4.            What statements are true regarding ABAP inheritance?

A. You can access the superclass component with the prefix SUPER.
B.The instance constructor can be overwritten as part of inheritance.
C. The static constructor can be overwritten as pa rt of inheritance.
D. Overloading allows a method to have several definitions with different signatures.
E. Instance constructors must call the superclass's constructor.
F. Static constructors do not need to call the superclass's constructor.
G. Polymorphism requires the developer to specify which method to use with inheritance.

Correct answers: A, B.E. F


5.            Which statements are considered obsolete and cannot be used in ABAP
Objects:

A.TABLES
B. DATA .. . TYPE . .. OCCURS
C.DATA ... BEGIN OF ...OCCURS
D. I NFOTYPES
E.RANGES
F. LEAVE
G. ON CHANGE OF
H.SEARCH
I. LOOP AT dbtab

Correct answers: A, B. C.D. E.F, G, H, I


6.            You can simulate multiple inheritances with:

A. REDEFINITION
B. INHERITING FROM
C. I NTERFACES

Correct answer: C


7. What is unique about a functional method?

A. It must contain a returning parameter.
B. It can contain a n importing parameter.
C.It can contain an exporting parameter.
D.I t can contain a changing parameter.
E.It can be used in logical expressions.
F. It can be used in SELECT statements.
G. It must be a singleton.

Correct answer: A, B. E


No comments:

Post a Comment