English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Which ONE of the following is TRUE?
a. A subclass may delete instance variables that are
declared in its superclass.
b. A subclass may declare new instance variables
that are not declared in its superclass
c. A subclass may delete messages that are
defined in its superclass
d. A subclass must use all of the methods defined
in its superclass.

2006-12-13 03:23:56 · 4 answers · asked by chigyc 1 in Computers & Internet Programming & Design

4 answers

F. What you're going to get for not studying for this test. Eyes on your own work.

2006-12-13 04:02:32 · answer #1 · answered by dm_gsxr 4 · 0 0

A.
Attributes are represented by instance variables; behaviors are defined by methods. Without methods, an object cannot do anything. It can only passively wait for other objects to manipulate its visible data. Some programming languages use passive data structures that do exactly this; they contain a cohesive set of data, but they have no behavior and must rely on other functions or subroutines to manipulate their data.

John
A+ Certified

2006-12-13 03:27:58 · answer #2 · answered by A+ Certified Professional 5 · 0 0

A

2006-12-13 03:26:29 · answer #3 · answered by vitti93 2 · 0 0

A

2006-12-13 03:25:17 · answer #4 · answered by Yoi_55 7 · 0 0

fedest.com, questions and answers