Review some of the memories basis points

1, and listIterator Iterator iterator points, elements of the former can not be added in an iterative process, which can.

2, switch loop condition, enumerated type can put int char

3, enumeration type enum {Attribute 1 Name, Attribute 2, 3} attributes created on the outer Method   

4, JAVAbean concept, you need to create private member variables, get / set methods, there is no parameter argument constructor, inheritance serialization interface

5, undefined data type of the attribute in the generic class if they can be considered generic type, become generic class; uncertain parameter data type discharge method, it can be considered generic type, to become a generic method.

Guess you like

Origin www.cnblogs.com/luojack/p/11032341.html