Q.2.2 When you think in an object-oriented manner, every object is a member of a
ID: 3754425 • Letter: Q
Question
Q.2.2 When you think in an object-oriented manner, every object is a member of a (a) Class; (b) Struct; (c) Method; (d) Collection; (e Attribute Q.2.3 If a constructor requires arguments, it is a constructor (a) Default; (b) Parameterised (c) Non-default (d) Both A and B; (e) Both B and C. Q.2.4 What files contain data that have not been encoded as text? (a) Text files; (b) Computer files; (c) Binary files; (d) Permanent files (e) Directories. Q.2.5 A break is a break in the logic of the program that is based on the value of (2) a single variable (a) Multiple-level control; (b) Simple control; (c) Serial control; (d) Single-level control; (e) Unadorned controlExplanation / Answer
2.2).Answer : a.class
Class is a skeleton for an object which defines all the variables and methods.An object is an instance of class.
2.3).Answer : b.parameterised constructors
using these constructors we can store different set of values into different objects created to class.
2.4)Answer : c.Binary files
They posses the content in binary that is unable to grasp and observe in text editor such as images,
2.5).Answer : d.Single-level control
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.