
What is wide casting and Narrow casting

Assigning coping the instance of super class to the sub class instance is called Widening Cast

Both narrow and wide casting are related to inheritance. In narrow casting, you assing a runtime object of subclass to runtime object of superclass.

Both narrow and wide casting are related to inheritance. In Narrow casting, you assign a runtime object of subclass to runtime object of superclass. By this assignment, you can access your subclass by...read more


okokok ojnojnononknonoinonon

Both narrow and wide casting are related to inheritance. In Narrow casting, you assign a runtime object of subclass to runtime object of superclass. By this assignment, you can access your subclass by...read more

Both narrow and wide casting are related to inheritance. In Narrow casting, you assign a runtime object of subclass to runtime object of superclass. By this assignment, you can access your subclass by...read more

The wide casting ,an instance of the superclass is assigned to the instance of the subclass.As we are switching to a more specific view from a less specific view it is called wide casting.
In narrow c...read more

the subclasses which inherit from the parent class would usually have more componance than the parents class, hence sub classes are wide & other hand the parentclasses have a smaller number of compone...read more

Wide casting : This concept will be used when super class is Inherited and redefined by sub class.suppises sub class has one inherited method (x)from the super Class and one new method(y). If sub clas...read more

Top TCS SAP Abap Technical Consultant interview questions & answers
Popular interview questions of SAP Abap Technical Consultant
Reviews
Interviews
Salaries
Users/Month