1. Understanding reflection in Java 1.1 What is the reflection of JavaJava reflection is a mechanism that allows us to get the class's internal information such as functions, properties, parent classes, interfaces, and so on at run time. Reflection
The master suite runs on the client (browser) and is independent of the application server (application Server) technology, so it can be used exclusively for the Java EE,Web application products developed by ASP.The master suite is deployed on the
You has no choice about the necessity to integrateyour observations,Your experiences, your knowledge into abstractideas, i.e., into principles.--ayn Rand, "philosophy:who Needs It" 1974Data Abstraction is a clear separation of the abstract features
Many students are not very clear about the regular expression of the identity * number in the program written by Java during the test, so we write a blog post explaining it.first you need to understand the coding rules of the identity * number and
ArrayList will be faster than vector, he is non-synchronous, if the design involves multi-threading, or vector betterImport java.util.*;/*** Demonstrates the use of vectors. including the creation of vectors, adding elements to vectors, removing
JAVA06 Reference data types
Array
Class
Interface
is also a reference type
Used to define properties and functions to describe things in the real world such as the definition of a student class
Format
Custom data
Let's start by explaining what the benefits are:1, if you want to new an empty list, and this list will not add elements later, then use Collections.emptylist () good.New ArrayList () or new LinkedList () will have an initial size at the time of
First, why to use the internal classWhy use internal classes? In "Think in Java" There is a sentence: the most appealing reason for using inner classes is that each inner class can inherit one (interface) implementation independently, so no matter
The Java Virtual machine masks information that is specific to the platform, so that the Java language compiler simply generates the target code (bytecode) that runs on the Java Virtual machine and can run unmodified on multiple platforms. Virtual
Direct buffers vs. non-direct buffers:Non-direct buffers: allocates buffers through the allocate () method, setting buffers in the JVM's memoryDirect buffer: Allocates a direct buffer through the Allocatedirect () method, establishing the buffer in
57th: Use exceptions only for exception cases
Exception mechanisms are used in unusual situations, and few JVM implementations attempt to optimize them. In modern JVM implementations, exception-based patterns are much slower than standard
What is a memory model
JMM ( Java memory model) specifies the JVM a minimum set of guarantees must be followed, which specifies when write operations to variables will be visible to other threads.
jmm Defines a partial-order relationship
JAVAEE--SPRING01: Introduction, construction, concept, configuration details, attribute injection and application to project Javaee--struts2_04: Custom interceptors, struts2 tags, login functions and check the implementation of the login Interceptor
Turn from: Http://www.tuicool.com/articles/VRVFZb PrefaceMulti-threaded classification of 21 articles, more than 21 articles, a lot of content, personal thinking, learning, content, the more miscellaneous knowledge, the more need to carry out a
1. Bubbling algorithm2. Quick Sort3. Merge sort4. Select sort5. Heap SequencingSorting algorithmsImportance is self-evident, many algorithm problems often choose a good sorting algorithm often problems can be solved1. Bubble algorithmBubble sort
1, a simple picture of the layout of the Docker, it is virtual, Docker is divided into a VPN, mirror, container three modulesGenerally from the server pull image, image run a container, we put the container as a virtual service, which can be run
Java transient keywords Use note, transient note
Ah, although I am the most familiar with Java, I don't know much about the basic knowledge of Java. For example, the transient keyword has never been used before, so I don't know what it works, I
Java instanceof Usage Details, javainstanceof
Instanceof is a binary operator (operator) of Java and a reserved keyword of Java. It is used to determine whether the object on the left is an instance of the class on the right, and return boolean data.
Java Collections. sort () implements the default List sorting methods and custom methods [convert], collections. sort sorting
1. default list sorting method provided by java
Main Code:
List list = new ArrayList (); list. add ("Liu Yuanyuan ");
List.
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