× 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  
Stromile Stromile
wrote...
Posts: 299
Rep: 0 0
6 years ago
Refer to Example Code Ch 09-5: Which of the following would best redefine the toString method for BClass?
a.   public String toString(int z)
{
   return " " + x + "   " + y + "   " + z;
}
b.   ) public String toString()
{
   return super.toString();
}
c.   public String toString()
{
   return super.toString() + "   " + z;
}
d.   public String toString()
{
   return super.toString()+"   " x+"   "+y+"   "+z;
}
e.   public String toString()
{
   return " " + x +    " + y + "   " + z;
}
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
1

Related Topics

Stromile Author
wrote...

6 years ago
Thanks
wrote...

Yesterday
I appreciate what you did here, answered it right Smiling Face with Open Mouth
wrote...

2 hours ago
You make an excellent tutor!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1067 People Browsing
Related Images
  
 4141
  
 468
  
 389