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
Avuya Mxoli
NA
236
208.5k
Generic Methods
May 6 2012 8:50 AM
Hi All,
I just started learning generics and we were asked to create a generic method in a class that accepts an array and an individual object of the same type. The method should remove duplicates in the array and replace the duplicate with a with a default or elimination value represented by the second parameter. We then have to create an application that will implement this using 3 different types that have different lengths.
I've seen many ways of doing this but since I am still very new at this I don't know which one to apply to my problem. Any help will be appreciated.
Reply
Answers (
4
)
Network
Get wifi signal strength (simply method)