Java (SE) content review

Source: Internet
Author: User

Also when the university wrote, now look back, then the idea is a little naïve, the article content also ... Ha ha... Welcome to shoot Bricks


Learn Java for some time, a little review, the structure of the management. In addition, mention, the elder brother is to do C + +, do not do java,java just learn.

  Java Basic SyntaxA basic Java section
1 Data types

2 Control process

3 functions

Two Java object-oriented parts
1 class Definitions

2 Package

3 inheritance

4 polymorphic

5 abstract class

6 interface

7 Exception Handling

8 Root Class object

9 Packs

Java Multithreading 1 Thread Creation Method 1: Inherit thread, override Run method

    2 Thread creation Method 2: Implement Runnable method in interface  run

    3 thread synchronization:   synchronized (Synchronous Lock) {multithreaded Synchronization code block (operation on shared data)}

    4 sync function:
         Use the Synchronized modifier function (cannot contain non-synchronized code blocks)
         General function: The synchronization lock is the current object this
          static sync function: The sync lock is This.getclass () (that is, the object. Class).

    5 deadlock

    6  wait/wake mechanism

     7  Multi-producer multi-consumer problem
&NBSP; < Span style= "margin:0px; padding:0px "> common objects Api a String      1.1 String
1.2 StringBuffer

1.3 StringBuilder

Two basic data types wrapper class
2.1 Byte
2.2 Short
2.3 Integer
2.4 Long
2.5 Float
2.6 Double
2.7 Character
2.8 Boolean

Three sets of frames
3.1 iterators

3.2 List

3.3 Vector

3.4 ArrayList

3.5 LinkedList

3.6 Set

3.7 HashSet

3.8 Hash Table

3.9 Linkedhashset

3.10 TreeSet

3.11 Map

3.12 HashTable

3.13 HashMap

3.14 Linkedhashmap

3.15 TreeMap

Four-generic
4.1 Data types

4.2 Generic class

4.3 generic interface

4.4 Generic Limit

4.5 Generic Downline

Four sets of tools
4.1 Sort

4.2 Reverse order

4.3 Synchronization of asynchronous transitions

4.4 Conversion between arrays and list sets

    4.5 collection traversal for (element: collection)

     4.6   Variable parameters (keywords: "...")

    4.7 Static import   (import static XXXXX): The static member of the import package

five other objects  
    5.1 System

    5.2 RunTime

    5.3   math

    5.4 date 

    5.5 Calendar
&NBSP; io stream  1 FileWriter

2 FileReader

3 BufferedWriter

4 BufferedReader

5 design pattern: Decorative design mode

  6 File class

    7 Properties class

    8 PrintStream

    9 printwriter

    10   Sequenceinputstream

    11 ObjectInputStream and ObjectOutputStream

    12 serialization interface serializable

     13 transient

    14 randomaccessfile

    15 Pipedstream

    16 DataStream

    17 Bytearrayoutputsteam and Bytearrayinputstream

    18 chararrayreader and Chararraywriter

    19 StringReader and StringWriter
     
     20  Code table  
< Span style= "margin:0px; padding:0px "> graphical interface (Gui)
1 Interface layout

2  Create forms and add controls

3 time monitoring mechanism  
Span style= "margin:0px; padding:0px ">
4-click event

5 mouse event  

6  keyboard events  
Span style= "margin:0px; padding:0px ">
7  menu < Span style= "margin:0px; padding:0px ">< Span style= "margin:0px; padding:0px; Font-weight:normal "> network programming   1 Network tiering

2 UDP protocol

3 TCP protocol

4 File Upload

Java Learning at the time, took half a month, the Java Programming Language Foundation is a more detailed understanding. Thanks to the GAO Yun take me to get started, tell Yi Sister's Apple notebook, the virtual machine inside programming really not easy.

Java (SE) content review

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.