Java outline of the review
- Basic data types
- Understand the basic data structure java int, float, double, long, long long, char.
- Understand the use of java primitive type wrapper classes Integer, Double, Float, String, etc., focusing on attention to the String class method
- Understand the use of java arrays, including creating, initializing, use
- Java understand the operators and their usage
- Preliminary basic console IO, using Scanner and System.out
- Program Structure
- The basic structure and selected using a multi-branch structure
- Using a switch statement
- and while for, for-each loop
- Status of programming methods (functions)
- Recursive programming to understand and grasp the meaning of the advantages and disadvantages
- Understanding Scope and survival, and proficiency in the use of static const keyword and final
- Object-Oriented
- Understanding the meaning of object-oriented
- Define a class to create an object
- Constructor of the class
- Overloaded class methods
- Master the inheritance mechanism
- Grasp the role of static in class
- Meaning cited
- Abstract classes to create an interface, there is a mind
- Exception Handling
- Master understanding try-catch block
- The throw and the throws
- Throwable master interface
- Familiar with common exception classes
- Binary IO
-
Familiar with and master class structure diagram javaIO flow
- Familiar interface for each class to achieve, what features, how to initialize with the scene at what
content to view the document jdk to - Master the understanding and use of the object IO interface Serializable
- Master the use of a random file reading and writing classes
-
- Generic (template)
- Generic motives and advantages, why use generics, what strengths?
- How to define a generic class and interfaces, familiar with the generic class definition syntax interface, understand a class may have multiple generic parameters
- How to define the generic method is called, you can understand a static method is defined as a generic method
- Learn generics wildcard, wildcard understanding unrestricted, restricted wildcard, meaning lower limit of the Wild
- Understand how to deal with generics at runtime, there is only the generic understanding of the build process, and understand some of the resulting restrictions on generics
- You can not create an instance of a generic type parameter
- You can not be used to create an array of generic type
- In a static context does not allow class is a generic parameter
- Exception type can not be generic
-
java collections
java collections following structure
- collection interface extends Iterator, it is iterative, and its subclasses are also iterable
- Familiar with and master the method of collection
- The method of linear form List interface, and the characteristics of the different subclasses of LinkedList ArrayList
- Static methods familiar collections for the linear form
- Vector and Vector Stack and Stack
- Queue and Queue priority queue and PriorityQueue
- Collection, understand and grasp the difference between the use HashSet \ LinkedHashSet \ TreeSet of
- Mapping, master understanding HashMap \ linkedHashMap \ TreeMap using the difference
- Multithreading
- Java appreciated that in use the Thread class interface runable
- Familiar with and master the steps two ways to create multi-threaded programs
- New class inheritance Thread
- New class implements runnable interfaces
- Familiar with and master the method of Thread
- Familiar with and master thread pool usage
- Grasp the meaning and understanding thread synchronization method
- Use keywords to synchronize the code lock, synchronization method invocation on an object, the object needs to be locked, call the static synchronization method of a class, you need to lock this class. It may also be synchronized directly locked by an object, the synchronized block
- Explicit use locking mechanism
- Use blocking queue
- Use semaphores
- Understand and grasp the thread state transition diagram
- Understand and grasp the synchronized version of the collection for multi-threaded