1.

Which language can use inheritance with local classes?(a) Kotlin(b) Java(c) SmallTalk(d) SAP ABAPThis question was addressed to me in an interview for job.This intriguing question originated from Local Class topic in portion Class Members & Types of Object Oriented Programming

Answer» CORRECT option is (d) SAP ABAP

The explanation: Other language MIGHT SUPPORT inheritance with local classes but those doesn’t provide all the proper features of inheritance. Language SAP ABAP provides a way to implement inheritance with local classes EFFICIENTLY.


Discussion

No Comment Found

Related InterviewSolutions