Shubhra is writing an OOP code for items like car, truck, bus etc. These items under the class vehicle
are called
(a) methods
(b) items
() objects
(d) attributes
5. Wrapping up of characteristics and behaviour in one single unit is
(a) Encapsulation
(b) Abstraction
(c) Inheritance
(d) Polymorphism
6. Wrapping up of data and associated functions in one single unit is called
(a) Encapsulation
(b) Abstraction
(c) Inheritance
(d) Polymorphism
chitecture and
Answers
Answered by
16
Option(c) i.e " object "
5 Option(a)
6 Option(a)
Explanation:
- The object is the items of the class .We can create the object for accessing the properties and methods of a class .As mention in the question the vehicle is a class also car,truck ,bus are the items it means it is a object of the class vehicle .
- The wrapping of data and function i.e method into the single unit is called encapsulation .It is the feature of the object oriented programming language .The encapsulation id encapsulating the behavior of the class in the single unit that's why encapsulation is the correct answer of the 5 and 6 question .
Learn More :
- brainly.in/question/16771207
Answered by
0
Answer:
The programing language that require knowledge of computer machine architecture and circuitry are know as
Similar questions