Classes and Objeets True or False: 1. When two or more methods have the same name but different paranet ter lists, the methods are referred to as overloaded methods. 2. 00P stands for Online Objective Programming 3. Unlike procedure-oriented programming, object-oriented programs focus on the major tasks 4. Polymorphism refers to the fact that you can create one class from another class. 5. An objeet’s behaviors fall into two categories: actions that the object is capable of performing and actions to which the object can respond. 6. Every object has attributes, which are the characteristics that describe an object. 7. A class contains all of the attributes and behaviors of the object it instantiates. 8. A base class is created from a derived class. 9. Every object in an object-oriented program is created from a class 10. You can define your own classes in C++ and then create instances (objects) from those classes. The creation of a good class, which is one whose objects can be used in a variety of ways by many different programs, requires significant planning. 11. 12. The syntax for a class definition contains two sections: hidden and exposed 13. Although not a requi 14. Before an object rement, the convention is to enter the name of a class using uppercase. has been instantiated in a program, the program can refer to a public member of the class 15. A program does not have direct access to a private variable within a class. Multiple Choices: 16. A(n) is anything that can be seen, touched, or used. bject c. attribute d. behavior b. class 17. Al n) is a pattern or blueprint that the computer uses to create an object. s instance lass c. attribute d. behavior 8. are the characteristics that describe an object. 321 C-t ProgrammanE Part ll
- True – When two or more methods have the same name but different parameter lists, the methods are referred to as overloaded methods.
Because we are overloading method using different parameters.
- False – OOP stands for Obline Objective Programming
Because OOP stands for Object Oriented Programming
- False – Unlike procedure-oriented programming, object-oriented programs focus on the major tasks.
Object-oriented program : as name is saying, it focuses on objects not tasks.
- True – Polymorphism refers to the fact that you can create one class from another class.
Polymorphism means existing in many forms.