Collection +io PartA total of 40 choice questions, 2.5 points per question. Multiple-choice mistakes are all wrong, the full score.
The top-level interface of a single-column collection is () b
A) Mapb) Collectionc) ListD) Set
First, the basic conceptThe thread state graph consists of five states1. New state: When the thread object is created, it enters the new state. For example, thread thread=new thread ();2. Ready state (Runnable): Also known as "executable State".
What is HTTP? Hypertext Transfer Protocol (Hypertext Transfer Protocol-HTTP) is a protocol designed to enable clients and servers to communicate smoothly. HTTP works with Request-response protocol (Request-reply protocol) between the client and the
April 22, 2015 update:Found a pit: Recently found a colleague in accordance with this method to configure the JDK environment variable has been unsuccessful, later found that he was using "oh-my-zsh", the path of the profile is not/etc/profile or ~/.
The Java reflection mechanism is in the running state, for any class, can know all the properties and methods of this class, for any one object, can call any of its methods and properties; This dynamically acquired information and the ability to
MyEclipse 8.5 + tomcat6 + JDK 1.8 Startup error:The APR based Apache Tomcat Native Library which allows optimal performance in production environments is not found on th e Java.library.path:d:\program files\java\jdk1.8.0_45\jre\bin; C:\apache-tomcat-
1: Keywords (words that are given a specific meaning by the Java language)(1) Features: all lowercase.(2) Precautions:A:goto and const exist as reserved words.B: High-level notebooks like notepad++ have special color tags on keywords2: identifier
Basic Content1. Visibility of shared variables between threads2. Synchronized achieve visibility3, volatile realization of visibility1) Order reordering2) as-if-serial3) volatile use precautions4. Comparison of volatile and synchronized1.
Method Definition: A method is a piece of code that can be called repeatedlyFormat:The access modifier returns a value type (which can be void, base data type, reference data type) method name () {Method body}Note: The void return value type does
In the past, processing file uploads is a painful thing, mostly with the help of open source upload components, such as Commons fileupload. Now, very convenient, convenient to the most convenient than those components. The previous HTML-side upload
Some time ago, the company colleagues asked a killing games feeling or very interesting, for our program ape, as long as there are rules, everything can be expressed in code (the idea of the Cock Silk program ape).
The title is this: there
1 General descriptionJAVA8 new features OverviewFunction-Type interfaceLambda expression (closure)2 JAVA8 new features overviewOracle Corporation released the JAVA8 version in March 2014, the most revolutionary version since JDK5.0.Java8 brings a
The members of the class (properties, methods, inner classes, and so on) have 4 scopes (class → subclass → package → anywhere), so 4 access rights apply.The top-level class (which is the outermost class) has only 2 scopes (package → anywhere), so it
JVM Memory Area
Program counterA small amount of memory space that is the line number indicator of the byte code executed by the current thread.
Java stackAs with program counters, the Java stack (the virtual machine stack) is also
Java Abstract classes and interfaces
1. abstract class/** 1. abstract METHODS must exist in abstract classes. abstract methods and abstract classes must be modified! 2. abstract classes cannot be instantiated. 3. If multiple abstract methods exist
3.3 Case 2: job queue, jobqueue
The 2nd cases are work queues. A typical point-to-point message, a Producer sends a work message to the queue, and a Consumer with a Listener class can obtain a work-condition message from the work queue, after the
Java Collection framework Overview
Recently, I was asked several times about the implementation of HashMap, but the answer is not good. I plan to review the collection framework in JDK and try to analyze its source code. On the one hand, these
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