Win a copy of Java by Comparison (eBook) this week in the Java in General forum!

Michael Alex

Greenhorn
+ Follow
since May 02, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael Alex

Thanks. I got everything working except sort. I want to sort by the student's name(in alphabetical order).any suggestion?
6 years ago
I have a class that contains two arraylists- student names and Ids
I want to put them into LinkedHashSet( so, I can sort, delete, add and edit e student profile);
I created a class called Student that contains setName getName setId getId and toString methods.

now, I try to do something like

I don't know if I am on the track or not. any suggestion? Thanks
6 years ago