Question: Choose one correct answer, 5 points QUESTIONS 1. When an object is created the compiler allocates place(s) in memory a) one b) three c) two

 Choose one correct answer, 5 points QUESTIONS 1. When an object

Choose one correct answer, 5 points QUESTIONS 1. When an object is created the compiler allocates place(s) in memory a) one b) three c) two d) four 2. An object is created a) when its reference variable is declared b) after its reference variable is passed c) after its reference variable is processed d) by a new operator 3. Objects are passed to a method by a) value b) reference c) value or reference d) all 4. If a sent message contains a value then this value is called a) argument b) variable c) parameter d) none 5. A inherits common features from a a) superclass, subclass b) subclass, superclass c) ansector, descendant d) none 6. Objects are returned from methods by a) reference variable b) objects methods c) data attributes d) object constructor 7. A sending message should contain name, name. a) class, method b) object, parameter c) object, method d) class, argument 8. Local variables should be declared within body

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!