C_taw12_740: chapter 17 class identification analysis

INFO
STADISTICS
RECORDS
Title of test:
C_taw12_740: chapter 17 class identification analysis

Description:
Sample questions from book "ABAP 7.4 Certification Guide"

Author:
Phreak
(Other tests from this author)

Creation Date:
13/09/2017

Category:
Competitive Exam
Click 'LIKE' to follow the bests test of daypo at facebook
Last comments:
No comments about this test.
Make a comment?
Login at daypo to comment the test.
Content:
Given the code on the left and the knowledge that both lcl_truck and lcl_car inherit from lcl_vehicle, which statements are true? Select all that apply. The code is not syntactically correct. The table lt_vehicle contains three vehicles. The code will produce a runtime error. The code shows three valid up casts. The code shows two valid up casts. The code shows no valid up casts.
What is unique about a singleton? Select all that apply. It must be instantiated using a private instance constructor. It must be instantiated using a public instance constructor. It must be instantiated using a protected instance constructor. It must be instantiated using a static private constructor. It must be instantiated using a static public constructor. It must be instantiated using a static protected constructor. It must be defined as FINAL. It cannot be defined as FINAL.
Which statements are true about a class that has granted friendship to another class? Select all that apply. The friend has access to private attributes. The friend has access to protected attributes. The friend has access to public attributes. All classes the friend has granted friendship access status to also have the same access. All classes that inherit from the friend (subclasses) also have the same access.
There can only be one level in the inheritance tree. True False.
Which statements are true regarding ABAP inheritance? Select all that apply. You can access the superclass component with the prefix SUPER->. The instance constructor can be overwritten as part of inheritance. The static constructor can be overwritten as part of inheritance. Overloading allows a method to have several definitions with different signatures. Instance constructors must call the superclass’s constructor. Static constructors do not need to call the superclass’s constructor. Polymorphism requires the developer to specify which method to use with inheritance.
Which statements are considered obsolete and cannot be used in ABAP Objects? Select all that apply. TABLES DATA ... TYPE ... OCCURS DATA ... BEGIN OF ... OCCURS INFOTYPES RANGES LEAVE ON CHANGE OF SEARCH LOOP AT dbtab.
With what can you simulate multiple inheritance? REDEFINITION INHERITING FROM INTERFACES.
What is unique about a functional method? Select all that apply. It must contain a returning parameter. It can contain an importing parameter. It can contain an exporting parameter. It can contain a changing parameter. It can be used in logical expressions. It can be used in SELECT statements. It must be a singleton.
When you define local classes in ABAP, which syntactical sequence must you follow? PUBLIC SECTION, PROTECTED SECTION, PRIVATE SECTION PRIVATE SECTION, PROTECTED SECTION, PUBLIC SECTION The order doesn’t matter. The order is handled automatically.
What does the Refactoring Assistant allow you to do? Select all that apply. Move components between superclasses and subclasses Rename all occurrences of a method Move between classes and interfaces.
ABAP now has predefined functions that behave like functional methods. True False.
Report abuse Terms of use
By using daypo, you agree that we and our partner companies can define cookies for different purposes, such as customize the content and advertising. To change the settings or more information: cookie policy.