Another day with Java, I was hurted today,when I back to home and finally had access to internet ,but when I logo in my heima account ,only to find one of my posts was deleted and lost scores. It's be a reminder that I need to pay more attention in the rules.
Without further ado, let's talk about the lesson learnt I acquired today.First ,I would like to talk about Collection , the root interface of List(ordered,repeatable and index available) and Set(unordered and unrepeatable),it defined a kind of data structure with variable length ,which is remarkable convenient for programming . Actually I do have a chart ,which I want to share with you ,it quite clearly showed the relationship of the Collection class, and here it is,
I am not sure whether the size of the picture is readable on your side ,anyway ,I will attached it. Another study would be generic , a late-bonding method , the type of funtion ,class,interface could be suspended when they are defined utill they are going to be used . on one hand it could be more secure because you must give a clear type and completlely math the type when use they ,on the other hand it could be more easy-used when you want to get the corrected type-match in using quota type. The chart as follow,and I will also enclose it in post.
This is part of sumary of my day with java,hope you will benefit from . Everylight before I go to bed I will ask myself one question,"What I have done today to improve my programming skill?",sometime it was just some simple words in all,but it will push me to make effort the next day.WISH WE ALL STRIVE TO A GOOD END , GOOD NIGHT ,GOOD DREAM!
|
|