ā¢Ā Using theĀ CASTĀ operator, you can carry outĀ upcastsĀ ,Ā downcastsĀ and create a reference variable of a static type as a result.
ā¢Ā Assigning/copying the instance of sub class to a super class instance is called UP Cast.
Assigning/coping the instance of super class to the sub class instance is called Down Cast.
ā¢Ā The new CAST operator replaces theĀ casting ?=Ā operator.
Please share with your ABAP friends and follow us.
If you want to dive deeper, visit our course https://lnkd.in/d42HfjDh
Comments