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:
Cristen
20 days agoKrystina
3 days agoFelicia
6 days agoVeronika
27 days agoTheola
7 days agoKelvin
9 days agoShanice
22 days agoElena
1 months agoVanesa
24 days agoRobt
1 months agoKate
1 months agoTequila
1 months agoFabiola
24 days agoCharlesetta
29 days agoYolando
1 months agoAnnelle
1 months agoKimbery
2 months agoAngelyn
29 days agoAnabel
1 months agoDonette
1 months agoLeatha
1 months agoLonna
2 months ago