Naming convention – Naming Collections

I am really not sure how to name collections so that they are really meaningful and descriptive.

Example –
Can I name java.util.HashMap with Key = Id , Value = Student object as –

iDVsStudentMap or iDMap or iDStudentMap.

Please help me with your suggestions.


Source: java

Leave a Reply