Top Posters
Since Sunday
s
3
3
d
3
s
2
c
2
G
2
y
2
t
2
2
k
2
j
2
e
2
New Topic  
Oughto Oughto
wrote...
Posts: 742
Rep: 1 0
7 years ago
If object1 and object2 are objects of the same class, to make object2 a copy of object1
A) use the Java copy method that is a part of the Java language
B) assign object1 to object2 like this: object2 = object1;
C) write a copy method that will make a field by field copy of object1 data members into object2 data members
D) use the default constructor to create object2 with object1 data members
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 114 times
2 Replies
Replies
Answer verified by a subject expert
blitheringblithering
wrote...
Posts: 354
Rep: 9 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1
University of Notre Dame

Related Topics

Oughto Author
wrote...
7 years ago
I mentioned in my previous post that I chose this as an elective, thanks for helping me understand
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1115 People Browsing
 121 Signed Up Today
Related Images
  
 165
  
 628
  
 1432
Your Opinion
What percentage of nature vs. nurture dictates human intelligence?
Votes: 436