11 votes 11 votes Which one of the following are essential features of an object-oriented programming language? Abstraction and encapsulation Strictly-typedness Type-safe property coupled with sub-type rule Polymorphism in the presence of inheritance I and II only I and IV only I, II and IV only I, III and IV only Object Oriented Programming gatecse-2005 programming normal object-oriented-programming non-gate + – Kathleen asked Sep 22, 2014 Kathleen 5.8k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
5 votes 5 votes B There have been several attempts at formalizing the concepts used in object-oriented programming. The following concepts and constructs have been used as interpretations of OOP concepts: co algebraic data types[44] abstract data types (which have existential types) allow the definition of modules but these do not support dynamic dispatch recursive types encapsulated state inheritance records are basis for understanding objects if function literals can be stored in fields src:wikipedia Anurag_s answered Dec 30, 2015 Anurag_s comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes ans should be B object-oriented programming language is object based programming language +abstration+inheritance. for any OOP language ABSTRACTION and INHERITANCE are compulsory. rajoramanoj answered Aug 30, 2017 rajoramanoj comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes Type safety is the extent to which a programming language discourages or prevents type errors. A type error is erroneous or undesirable program behaviour caused by a discrepancy between differing data types for the program's constants, variables, and methods (functions), e.g., treating an integer (int) as a floating-point number (float). https://stackoverflow.com/questions/805168/what-is-a-strictly-typed-language Hence, II and III are clearly not essentials. I & IV on the other hand form an OOPs language. Answer : (B) Pronomita Dey 1 answered Jan 22, 2018 Pronomita Dey 1 comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Ans: B it completes the three pillars of oops rishu_darkshadow answered Nov 14, 2017 rishu_darkshadow comment Share Follow See all 0 reply Please log in or register to add a comment.