Changes to method parameters (signature changes) are not possible.ġ2. You can only redefine (public and protected) instance methods, other components (static methods, attributes and so on) cannot be redefined. In ABAP Objects, you can not only add new components but also provide inherited methods with new implementations. In inheritance, static components are “shared”: A class shares its non-private static attributes with all its subclasses. The signature of redefined methods cannot be changed Static methods cannot be redefined. Inherited methods can be redefined in subclasses Redefined methods must be re-implemented in subclasses. What are the limitations of redefining a method? The Best SAP OOPS ABAP Interview Questions And Answersġ1. Reference variables can be defined in classes, allowing you to access objects from within a class. Reference variables allow you to create and address objects. Whereas an Object is an actual instance of a Class.Īnswer: Objects can only be created and addressed using reference variables. Ex: Instances at run time.Īnswer: Interface is class which contains methods without implementations.Īnswer: No it is not mandatory to implement all normal interface methods but it is mandatory to implement all Abstract methods.Īnswer: No, we can not instantiate interface using create object keyword.Īnswer: Yes, by using interface concept in SAP ABAp, we can achieve multiple inheritancesĪnswer: A Class is actually a blueprint or a template to create an Object. SAP OOPS ABAP Interview Questions And AnswersĪnswer: Object Oriented ABAP came up with the concept of representing Real-Time objects in classes. What is the Difference between Class and Object? Can We Achieve Multiple Inheritance Using Interfaces?Ĩ. Is It Mandatory To Implement All Methods Of Interface In The Class Which Includes Interface?ħ. What is the concept of Object-Oriented ABAP?Ĥ. Frequently Asked SAP OOPS ABAP Interview Questions And Answersġ.Top SAP OOPS ABAP Interview Questions And Answers.The Best SAP OOPS ABAP Interview Questions And Answers.SAP OOPS ABAP Interview Questions And Answers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |