TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Henry
NA
1
0
Simple Question: Reference vs. Value
May 29 2008 1:55 AM
So, I've got a class called Soldier, and I'm trying to create a seperate copy of it basically. But since classes assign through reference, whenever I create a new soldier, and set it as the old one, they both point to the same instance. I'm wondering if there's anyway to just, copy all of the values over into a new Soldier class.
Reply
Answers (
2
)
Simple Image Processing causes Program to Crash
Insert excel formula for a dataColumn based on two dataColumns