|There is a class SUPER which contains instance SUPER_METHOD and there is a class SUB which contains instance SUB_METHOD. Which code below is not possible? SUPER->SUB_METHOD( ) SUB->SUB_METHOD( ) SUPER->SUPER_METHOD( ) SUB->SUPER_METHOD( ).
Select the term used for Classes that can implement the same method differently Encapsulation Inheritance Casting Instantiation Polymorphism.
Static method can also be known as Abstract method Final method Class method Instance method.
Exception related methods are all inherited from CX_EXCP CX_ROOT CX_STAT CX_DYNM CX_EX.
What is contained in a class that does not exist in an interface? Implementation Method Attributes Definition.
What happen when the Set Handler command is executed? An instance of the event is created The event is handled The Event Handler Method is registered The Event is triggered.
How can a program access private attributes of an object? By methods of a different instance of the same object From outside the class Only by methods of the specific object itself By methods of different object within the same program.
What can be said about the lifetime of an object? An object exists as long as at least one method of the object is registered as an event handler An object exists for as long as it is being used in the program An object exists as long as least one reference points to it All answers are correct.
What is the term used when a change is made to a customer object in a system other than the original system? Modification Repair Change Correction.
Mark the one component that is NOT part of a Dynpro Element List Flow Logic Module Pool Screen Layout Screen Attributes.
What term is used when a developer makes a change to an SAP object? Custom development Modification Repair User Exit Copy.
Your program has registered several handler methods. How does the program know what methods are available for execution when an event is triggered? The methods defined in the Class Definition listen for raised events and respond when an event is triggered The system looks for registered handler methods in the event handler internal table and processes those that are registered for the event The system looks for registered handler methods in the registry table and processes those that are registered for the event It is determined by the Raise Event command.
Mark the operator used to narrow cast of a class = ?= => =? ->.
How does a customer benefit by using SSCR? To log customizing made by a development user To log enhancements made by a development user To log modifications made by a development user None of the above.
If you noticed a function code in a menu that began with + (plus sign), what type of exit would you be observing? a screen exit a text exit a menu exit a program exit.
How would you transport the contents of a field in a field exit back to the screen? Assign the field value to the INPUT parameter Assign the field value to the import parameter Assign the field value to the OUTPUT parameter Assign the field value to the changing parameter.
Which of the following methods require higher maintenance when new releases of SAP are installed? Customizing Enhancements to the SAP Standard Modifications to the SAP Standard Append Structures.
What keyword would you look for in order to determine if a screen exit has been provided by SAP? CALL CUSTOMER-SUBSCREEN CALL SCREEN CUSTOMER CALL SCREEN-EXIT CALL CUSTOMER-SCREEN.
What happens in the case when a format parameter typed with 'TYPE ANY' is used? format parameter takes on the type of the actual parameter syntax error conversion routines from the Data Element are executed conversion routines from the Domain are executed.
What is proper coding practice in the flow logic of a Dynpro when a subscreen is defined on the screen? The Call Subscreen statement is not required Call Subscreen in the PAI and PBO Call Subscreen in the PBO only Call Subscreen in the PAI only.
Which of the following statements correct about Static Attribute? Static attributes can be declared only in the private visibility section of the class. Static attributes are declared with the CLASS-DATA statement. A static attribute is the same across all instances of the class. Static attribute cannot be changed by an object. Static attribute can be changed by an instance of the class.
Which of the following statements true about ABAP Object-Oriented Programming? Private components of the class cannot be addressed directly from outside the class except when the friendship concept applies. Subclasses can access the private components of the parent class. Public methods can access the private attributes of the same class. Protected attributes can be accessed by methods of the class and its sub-classes. The READ-ONLY addition for the attribute declaration can be used in the private and public visibility section. You can call the constructor method directly.
Identify the statements that best describe the visibility of classes. Global classes are centrally available to all ABAP programs. Global classes are available only from programs belonging to the same development class. Local classes are available only to programs in the same development class. Local classes are available only to the program where the class is defined.
Select the answers that apply to static methods and instance methods. Static methods MUST be addressed by class_name even when object is instantiated. Instance methods MUST be addressed by class name. Instance methods MUST be addressed by object reference after instantiation. Static methods MUST be addressed by object reference after instantiation.
What is the component that is implemented in the implementation part of a class? Attribute Interface Event Method Function Object.
In the context of Triggering and Handling of Events, select those which apply: Events can be triggered with the Trigger Event command. Event triggering using Raise Event can be issued in a method. An event is defined in the Implementation of a Class. Methods must be registered to an event in order to be called when the event is triggered. Object or class events can trigger any number of handler methods.
In the context of Trigggering and Handling of Events, mark those which apply Events can be triggered with the 'Trigger Event' command Event Triggering using 'Raise Event' can be issued in a method An event is defined in the implementation of a class Methods must be registered to an event in order to be called when the event is triggered.
On the Program Attributes screen, mark the fields that are mandatory when creating a program. Application Program Name Type Title Status.
What are the minimum requirements for processing user requests in a Dynpro? The last field of the element list of the screen has the name OK_CODE. OK_CODE Checking is performed in the Screen Flow Logic. Define a GUI Status. OK_CODE is Defined in the TOP Include.
What can be said about the visibility of attributes in the following code:
CLASS lcl_course DEFINITION.
Data: name type string.
Data: price type course-price.
ENDCLASS. name is protected from outside access price is available to methods inside the class price is protected from outside access name is available to methods only inside the class.
Using the UML modeling language for ABAP OO design, refer to the followung and indicate the visbility of the components:
| cl_myclass |
| +city |
| #address |
| + get_city( ) |
| - display_addr( ) |
---------------------------------------- display_address is a static public method address is protected attribute display_address is a static private method city is a protected attribute city is a private attribute.
What is true about context menus? They are a special GUI Status. A subordinate input field in a subscreen causes the subscreen to inherit the context menu of the subordinate field. Context Menus are assigned to input fields. A subordinate output field in a table control inherits the context menu of the table control.
In the context of relationship between Super and Sub classes, identify the statements which apply: A superclass is a specialization of a subclass. A subclass is specialization of a superclass. A change in a superclass does not automatically get realized in the subclass. Subclass does not know its superclass. Superclass does not know its subclasses.
What code is required in order to return immediately to the calling screen? Set Screen 0. Leave Screen. Leave Program. Set Screen 0. Leave to Screen 0.
In what case will an automatic upgrade take place using the modification assitant assuming no name or layout conflict exist New Function Module is added to a function group. Menu function id modified. Deletion of a collective search help. New tabstrip added to a screen.
What methods would initialize a scren field that is defined with parameter id CAR? Set the screen painter attribute GET Parameter and fill in the Parameter ID field with CAR. Use the GET Parameter in the PAI of the DYNPRO. Use the GET Parameter in the PBO of the DYNPRO. Use the SET Parameter in the PBO of the DYNPRO.
Identify the characteristics of a BAPI. It is an interface It is implemented as a function Can be a method of an object It is an object Can only be use inside SAP.
Identify the characteristics of a Business Object Business objects provide methods to implement business functions Business objects are managed in the Business Object Repository (BOR) Business objects require knowledge of the internal source code to be able to access the data Business objects are business oriented Business objects ONLY use BAPI to access data.
What makes up a Tabstrip? Tab Title Subscreen Area Subscreens Tabstrip Menu Bar Function Keys.
What is true about the enhancement concept? A specific enhancement can only be used in one customer project A component can be contained in more than one enhancement A specific enhancement may be used in more than one customer project They are preplanned by SAP Enhancement Projects use CI includes.