I. The concept of serialization and deserialization The process of converting an object to a sequence of bytes is called serialization of an object . The process of reverting a sequence of bytes to an object is called deserialization of the object
First, the beginning of naggingIn the last chapter, the relative importance is to the abstract and interface-oriented programming, both of which embody the opening and closing principle.This issue continues to review the basics in Java.Second, study
Java thread working memory and main memory variable exchange process and volatile keyword understanding1. The Java memory model specifies that in multi-threaded situations, threads manipulate main memory variables and require copies of the main
Method One: For Windowstry {Runtime.getruntime (). EXEC ("rundll32 Url.dll,fileprotocolhandler" +url);} catch (IOException E1) {E1.printstacktrace ();}Method two: Generic, but may throw java.net.URISyntaxException exceptions.try {Create a URI
Thought and implementation of the configuration of spring container and Web container 0 based on pure Java Code (1)-Data source and transaction management and the thinking and implementation of the spring container and Web container 0 configuration
Java reflection array dynamically created array@author IxenosNote: Java.lang.reflect.Array is a reflection toolkit, full of static methods, creating arrays based on multidimensional arrays, one-dimensional arrays are only special
Network I/O modelA lot of people, there will be problems. When the web first appeared, there were few people to patronize. In recent years, the scale of network application is gradually enlarged, and the application architecture needs to change.
ImportJava.util.*;/*Saves the custom object as an element into the ArrayList collection and removes the repeating element. For example: the Depositary object. Same name as the same age, as the same person. is a repeating element. Idea: 1, describe
The enumeration type is a new feature of JDK1.5. Obviously, the enum is very much like a special class, in fact the type of the enum declaration definition is one. These classes are subclasses of the Enum class in the class library (java.lang.enum).
Previous section Study reviewIn the previous section, the main study of the sun jdk some of the command line and visual performance monitoring tools for specific use, but the focus of performance analysis is to solve the problem of the idea, there
become Superuser by running su and entering the Super user password.
Uninstall any previously installed Java packages. rpm -e Package_name
switch to the desired installation directory. Type:cd Directory_path_nameFor example, to install the
1. Java Memory modelThe Java Virtual Machine specification attempts to define a Java memory model that masks memory access differences between various hardware and operating systems to achieve concurrency that allows Java programs to achieve
We analyzed 47,251 dependencies on GitHub and found the top 100 Java class libraries, so let's see who's in front and who's behind.Our pastime on a long weekend is to browse GitHub and search for popular Java class libraries. We decided to share the
What is an annotation?Concepts: Annotations (Annotation), also called Meta data. A description of the code level. It is a feature introduced in JDK1.5 and later versions, with classes, interfaces, and enumerations at the same level. It can be
Java enumeration Usage Details
Detailed usage of Ruthless java Enumeration
In actual programming, there are often such "datasets", their values are stable in the program, and the elements in the "dataset" are limited.
For example, seven data
Batch renaming of Files: initial code and batch renaming
A tool class is created to modify file names in batches. It can be used to download TV series online. If the name is not required for a website address, you can change it to the name you want
Spring Summary-IOC and Bean summary, spring summary iocbean
1. The overall structure of Spring in the official Spring document.
Ii. Overall structure of Spring as I understand it.
Iii. Summary of the core part of Spring
1. As shown in the figure
Basic operator, stack, array, and operator Stack
I. Operators: priority, associativity
To sum up one sentence: The point number is self-inverse and the value is not transferred.Ii. java keywords
InstanceofInstance
VolatileEasy to lose
Spring basics-Bean scope, spring basics bean
1. In the Spring Config file, set the bean scope in the scope attribute of the element. The default value is singleton.
2. the scope attribute has only two values without introducing the spring-web-4.0.0.
Java, Java String
/*The String class is used to describe String objects.It provides multiple methods to operate strings.All methods are used, and the string is over.What are common operations?"Abcd"What functions should it provide so that we can
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