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
2 months agoKrystina
1 months agoFelicia
1 months agoVeronika
2 months agoKarma
30 days agoTheola
1 months agoKelvin
1 months agoShanice
2 months agoElena
2 months agoEric
30 days agoAfton
1 months agoVanesa
2 months agoRobt
2 months agoKate
2 months agoTequila
2 months agoFabiola
2 months agoCharlesetta
2 months agoYolando
2 months agoAnnelle
3 months agoKimbery
3 months agoAngelyn
2 months agoAnabel
2 months agoDonette
2 months agoLeatha
2 months agoLonna
3 months ago