java- based on a compilation begins

java-based summary

He thought for a moment, about the opening from the ground or find more appropriate. But this does not explain in detail java-based, we feel it was a waste of time (you can always find online). So my article mainly personal point of view, it is recommended to learn how java-based, so why should learn, by way of keywords and ideas to remind. ---- basis and a lot of different styles of teaching, do not spray! (I do not know where you can leave a message, will see the return)

recommend

  • soulx of java-based open source projects (including threads, reflection demo, long-term maintenance, can also submit your code)
  • Algorithms and data structures based on long-term maintenance, can submit their own code, which has a very detailed understanding of algorithms and comments

    text

  • Introduction to Object
    • Learning java you definitely need to know what the object is, the benefits of the object, the object of thinking, the only way you can make better use of java object-oriented language that you want to complete the requirements.
  • Initialization and cleanup
    • Initialization sequence of an object, as well as simple to understand how an object is processed.
  • Multiplexing classes, and polymorphism
    • Why inheritance is simplified, the polypeptide is to separate the coupling of your code at the level of, let you what to do and how to do it separately.
  • interface
    • Ability to angle a capacity to look at the problem.
  • Inner classes
    • Division of a special structure, considered an isolated individual to contact a clever combination.
  • Object - a collection of
    • Common set of collection (list, set, queue, stack) map (hashmap, treemap) etc.
  • Exception handling error
    • Jvm performance error is an error (memory overflow, stack overflow)
    • Abnormal running is abnormal and abnormal examination
  • Type information (RTTI -Run Time Type Information) and reflected
    • The relationship between class and reflection, reflection is to generate all the information you want based on class.
  • Generics
    • Remember java paradigm is a false paradigm, the actual running time will be restored, such as the actual target object is run. - Erase paradigm
  • java I / O system unified
    • What i / o it? In fact, a one input one output duct (thinking must be expanded, an http request is i / o, a document is read i / o).
  • Enum
    • A practical development of more convenient custom type.
  • Concurrent
    What threads are? Why is there a thread.
    • Thread a small function
      • Obstruction, wake up, thread pool, with a thread return value.
    • Sharing resources
      • synchronized, lock, cas optimistic locking
      • Java resources to understand why there is a problem?

        End

  • These are the basic questions personally think of java classes, do not look less write, I always put a lot of knowledge focused on a point or a question, if you are not familiar with a certain part, then you will not understand me outline tips sentence meaning.

Guess you like

Origin www.cnblogs.com/soulx/p/11298975.html