Refer to the exhibit.
with which predicate condition can you ensure that the CAST will work?
The following code snippet uses the IS INSTANCE OF predicate condition to check whether the variable g_super is an instance of the class lcl_super. If it is, the CAST will work and the variable g_sub1 will be assigned the value of g_super.
DATA: g_super TYPE REF TO lcl_super, g_sub1 TYPE REF TO lcl_sub1. IF g_super IS INSTANCE OF lcl_super. g_sub1 = CAST #( g_super ). g_sub1->method( ... ). ENDIF.
You cannot do any of the following:
Nobuko
16 days agoBrandee
20 days agoLuisa
6 days agoIrma
9 days agoGladys
23 days agoKanisha
25 days agoWei
29 days agoLindsey
1 months agoAlex
14 days agoAugustine
17 days agoKarl
18 days agoAlaine
1 months agoReita
1 months agoAmmie
1 months ago