A Syntax Message Will Occur: (More Than One Answer Is Correct)
A Syntax Message Will Occur: (More Than One Answer Is Correct)
A Syntax Message Will Occur: (More Than One Answer Is Correct)
superclass. A subclass already has the same named public attribute 'color'. What is
the outcome ?
1 ZCL_EMPLOYEE
2 ZCA_EMPLOYEE
3 ZCB_EMPLOYEE
A Abstract
B Final
C Persistent
An inherited class :
refvar->method(p1)
refvar->method(im = p1)
refvar->method returning()
refvar->method receiving()
What tool or technique would be used to move the definition of a global class to an
implemented interface
Object Navigator
Refactoring Assistant
BOR
Web Dynpro
BAPI wizard
Choose the item that is not characteristic of redefinition in the context of super/sub
class inheritance.
R3TR lcl_class
R3TR CLASS
In the context of Triggering and Handling of Events, mark those which apply
Raise Event
Interface
Class Definition
Create Object
attributes
definition
implementation
method
______________ (enter the correct phrase from one of the answers below) of a
class ensures that it can guarantee its own consistency
static methods
functional methods
private attributes
public attributes
Mark the items that characterize some primary differences between objects and
functions
A program can directly access data in the function group while access to
data in an object is not possible
A program can only work with a single instance of the same function group
versus a program can access several instances of the same object
Functions allow multiple instances of the same data objects. Objects only
allow single instances of data
Calling a function loads the entire function group implicitly into memory
whereas instances of an object are generated explicitly when an object is
created
Identify the valid statements that will write out the Static Attributes in the following
code
public section.
data: name(15) type c value 'ABAPObjects101'.
class-data price type p value 100.
private section.
data: category(10) type C value 'Objects'.
endclass.
write lcl_course=>price.
write: price.
write lcl_course->price.
myclass2 can access now acess the private components of myclass1 but
not the protected components