Reuters's questions are quite detailed. One point, each layer is very careful. Next we will describe the unclear questions that I have encountered.
1: thread status
Thread thread = new thread (); State state = thread. getstate ();
The following statuses are available:
State. Blocked; State. waiting; State. timed_waiting; State. terminated; State. runnable; State. New;
2: serversocket class details
When serversocket is constructed with port 0, it means:
A port number of 0 means thatPort Number is automatically allocated,Typically from an ephemeral port range. This port number can then be retrieved by calling {@ link # getlocalport }.
The constructor has the following types:
Public serversocket () throws ioexceptionpublic serversocket (INT port, int backlog) throws ioexception public serversocket (INT port, int backlog, inetaddress bindaddr) throws ioexceptionthe backlog argument is the requested maximum number of pending connections on the socket.
3: Database permission operations
Grant usage, select, insert, update, delete on database_name.table_name to user_name @ localhost indentified by password
4: common ports
21 FTP
22 SSH
23 Telnet
25 SMTP
53 DNS
80 HTTP
443 HTTPS
The following problems should be solved:
1. What is the internal category function?
2. distributed system lock?
3. File serialization
5. View hard disk commands
6. view route table commands
7. Linux Weibo server software and FTP server software
8. view the IP addresses of all NICs.
9. CDN principles
10. Rsync startup