× Didn't find what you were looking for? Ask a question
Top Posters
Since Sunday
L
3
d
3
y
3
a
3
n
3
d
3
e
3
d
3
c
3
p
3
M
3
a
3
New Topic  
DePeet DePeet
wrote...
Posts: 338
Rep: 0 0
6 years ago
Refer to Example Code Ch 09-5: You want to extend AClass to BClass.  BClass will have a third int instance data, z.  Which of the following would best define BClass's constructor?
a.   public BClass(int a, int b, int c)
{
   super(a, b, c);
}
b.   public BClass(int a, int b, int c)
{
   x = a;
   y = b;
   z = c;
}
c.   public BClass(int a, int b, int c)
{
   z = c;
}
d.   public BClass(int a, int b, int c)
{
   super(a, b);
   z = c;
}
e.   public BClass(int a, int b, int c)
{
   super();
}
Read 44 times
1 Reply
Replies
Answer verified by a subject expert
StingerStinger
wrote...
Posts: 310
Rep: 4 0
6 years ago
Sign in or Sign up in seconds to unlock everything for free
This verified answer contains over 130 words.
1

Related Topics

DePeet Author
wrote...

6 years ago
Brilliant
wrote...

Yesterday
Good timing, thanks!
wrote...

2 hours ago
Thanks for your help!!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1084 People Browsing
Related Images
  
 61
  
 1024
  
 1366
Your Opinion
What's your favorite funny biology word?
Votes: 336