ABAP TAW12 1 A
![]() |
![]() |
![]() |
Title of test:![]() ABAP TAW12 1 A Description: Certified Development Associate - ABAP with SAP NetWeaver 7.50 |




New Comment |
---|
NO RECORDS |
Data and functions are kept separate in the procedural programming model. Determine whether this statement is true or false. True. False. What does multiple instantiation mean? Choose the correct answer. Creating and managing runtime instances. Implementing relationships between classes. Creating instances of different classes. Sending messages directly to specific objects by triggering events. Which of the following is a simplification of complex relationships in the real world? Choose the correct answer. Inheritance. Abstraction. Encapsulation. Event control. Which kind of UML diagram pays particular attention to the Sequence in which objects relate to each other? Choose the correct answer. class. behavior. component. object. You can group all characteristics and behaviors of similar objects into one central class. Determine whether this statement is. True. False. The CLASS statement can be nested, that is, you can define a class within a class. Determine whether this statement is true or false. True. False. Which one of the following syntax elements is used to define static attributes? Choose the correct answer. CLASS-DATA. DATA. LIKE. Which of the following options is used to create an object? Choose the correct answer. CREATE OBJECT ref_name. APPEND ref_name. CLASS ref_name. You must create and address objects using reference variables. Determine whether this statement is true or false. True. False. During program runtime. you create discrete objects (instances) in memory for an existing class. This process is called instantiation. Determine whether this statement is true or false. True. False. When calling a static method from within the class, you can omit the class name. Determine whether this statement is true or false. True. False. In which of the following expressions can functional methods be called directly? Choose the correct answers. IF. COMPUTE. MOVE. WHILE. You can describe methods that have a _____ parameter as functional methods. Choose the correct answers. EXPORTING. CHANGING. RETURNING. You have to define RETURNING parameters using the VALUE addition, that is they must be pass by value. Determine whether this statement is true or false. True. False. The___________ is a special instance method in a class. Choose the correct answer. constructor. function. attributes. The instance constructor is automatically called at runtime with the CREATE OBJECT statement. Determine whether this statement is true or false. True. False. Which of the following points are true about the static constructor? Choose the correct answer. Each Class has not more than one static constructor. The static constructor must be defined in the private area. The static constructor's signature can have importing parameters or exceptions. The static constructor must be called explicitly from the class. The instance constructor’s signature can have importing parameters or exceptions. Determine whether this statement is true or false. True. False. Which of the following are the characteristics of inheritance? Choose the correct answers. Common components only exist once in the superclass. Components in the subclasses are available in all superclasses. Subclasses contain extensions or changes. Subclasses are not dependent on superclasses. A superclass is a generalization of its subclasses. Determine whether this statement is true or false. True. False. Suppose that you have a class X that inherits from class Y. After an up-cast a reference variable that is statically typed TYPE-REF TO Y points to an instance of class X. What components of class X can you access with this reference variable? Choose the correct answers. Components defined in class X. Components inherited from class Y. Components redefined in class X. Components defined in class X and redefined in its subclasses. When objects from different classes react differently to the same method calls. this is known as________________. Choose the correct answer. objects. events. polymorphism. inheritance. A typical use for ____________ assignments is to prepare for generic access. Choose the correct answer. events. upcast. methods. downcast. Which of the following is used to assign a superclass reference to a subclass reference? Choose the correct answer. Widening Cast. Narrowing Cast. Redefinition. Which of the following is the downcast assignment operator? Choose the correct answer. =. <>. ?=. =?. Suppose that you have the same class X that inherits from class Y. After a down-cast, a reference variable that is statically typed TYPE REF TO X points to an instance of ctass X. Which of the following components of class X can you access with this reference variable? Choose the correct answers. Components defined in class X. Components inherited from class Y. Components redefined in Class X. Components defined in Class X and redefined in its subclasses. What are the advantages of correctly using class hierarchies? Choose the correct answers. Centralized maintenance. Safe and generic method of access. Semantics preserved. Intended use of inherited components. You can access interface components only by using an object reference. Determine whether this statement is true or false. True. False. Which of the following is the main strength of interfaces? Choose the correct answer. Events. Inheritance. Polymorphism. ?= is the down-cast assignment operator. Determine whether this statement is true or false. True. False. Suppose a reference variable that Is typed to an interface contains an Instance of a class that implements this interface and you copy this to a reference variable that is typed to the class (downcast) Which of the following components can you access With this reference variable? Choose the correct answers. The components of the interface. The components from the class that are not defined on the interface. All components of the class. The components of the interface for which alias names have been defined. Which of the following strongly resembles inheritance? Choose the correct answer. Interface. Class. Method. Interfaces can include other interfaces. Determine whether this statement istrue or false. True. False. Which of the following cannot be defined as interface components? Choose the correct answer. Attributes. Methods. Events. Classes. Which of the following statements is used to trigger events? Choose the correct answer. CLASS-EVENTS. RAISE EVENT. EVENTS. FOR EVENTS. You can trigger static events only in static methods. Determine whether this statement is true or false. True. False. Which of the following is specified by the definition of the handler method? Choose the correct answer. Which method will react to which event of which class. Which instances will perform the reaction. Handler methods are registered using the SET HANDLER statement. Registration is only active at program runtime. Determine whether this statement is true or false. True. False. Which visibility section would an event need to be defined in, to ensure that it can only be handled in the class itself and its subclasses? Choose the correct answer. Public. Protected. Private. You can only use local classes or interfaces within the same program in which they are defined and implemented. Determine whether this statement is true or false. True. False. The naming convention for SAP Standard Global Interfaces is ZIF_ or YlF_. Determine whether this statement is true or false. True. False. Which of the following buttons in Class Builder is used to override an inherited method? Choose the correct answer. CONSTRUCTOR. Redefine. Implementation. Local types of the global class are encapsulated and cannot be accessed from outside. Determine whether this statement is true or false. True. False. |