Object-oriented programming (OOP) is a programming ________ based on the concept of “objects”, which may contain data, in the form of fields, often known as ________; and code, in the form of procedures, often known as ________.
A: method, variables, function
B: way, structures, process
C: language, words, statements
D: paradigm, attributes, methods
A: method, variables, function
B: way, structures, process
C: language, words, statements
D: paradigm, attributes, methods
举一反三
- Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.
- The following are not features of C language: ( ) A: Low level advaned programming language B: Allow direct access to the physical address to operate on the hardware C: Rich operators and data types in C language D: Object oriented programming language
- Which of the following is the order of applying object-oriented concept in programming A: instance creating — class defining — use attributes or methods through the instance B: class defining — instance creating — use attributes or methods through the instance C: instance creating — use attributes or methods through the instance — class defining D: class defining — use attributes or methods through the instance —instance creating
- The basic view of object-oriented programming is that all systems are composed of ( ). A: classes B: objects C: functions D: methods
- Which statements about inheritance are true?() A: In Java programming language only allows single inheritance. B: In Java programming language allows a class to implement only one interface. C: In Java programming language a class cannot extend a class and implement a interface together. D: In Java programming language single inheritance makes code more reliable.