Author: ChingOriginal address: http://blog.csdn.net/qingdujun/article/details/39322051This article demonstrates that TCP uses the socket for network communication, establishes a simple client, and uses the client to send a message to the server,
Java historySun's 1995 launch, secure, portable, cross-platform, was acquired by Oracle in 2009.Java architecture: SE standard EE enterprise version me mobileJava Cross-platform principle: Java source code--Compile--java bytecode
Polymorphic:The same entity has multiple forms at the same timeA compile-time type has a type that is used when declaring the variable, and the run-time type has an object that is actually assigned to the variable, and a polymorphic example occurs
Author: ChingOriginal address: http://blog.csdn.net/qingdujun/article/details/39341887This article demonstrates a simple multithreaded instance and simply parses the thread.When programming multiple threads, the general steps are:1) Inherit the
Jmap can be used for reference:Official Document Http://docs.oracle.com/javase/6/docs/technotes/tools/share/jmap.htmland this blog http://blog.csdn.net/fenglibing/article/details/6411953This article mainly introduces several parameters commonly used
Author: ChingOriginal address: http://blog.csdn.net/qingdujun/article/details/39322051This article demonstrates that TCP uses the socket for network communication, establishes a simple client, and uses the client to send a message to the server,
Self-summary, what needs to be corrected to make up for the place, please point out, grateful!This paper summarizes the usage of indexof ,bigdecimal multiplication, shift operation ,formatted output of decimal, string substitutionOn the code:Test
/* This program mainly changes the Java interface style* The latter two MAC,CTK styles to be implemented on the relevant operating system*/Import java.awt.*;Import javax.swing.*;Import java.awt.event.*;public class Jframebutton extends JFrame
FinalFinal can modify classes, methods, variablesThe final decorated class cannot be inherited The final modified method cannot be overriddenThe final modified variable is a constant that can only be decorated onceInner classes can only access the
1. Define the interfaceUse interface to define an interface. Interface definition similar to the definition of the same, is also divided into the interface of the Declaration and interface body, where the interface body consists of a constant
Concise interpreter mode-2
Concise interpreter mode (5.3) continued
This section describes a new expression language. User inputAlgebraic expressions, such as "(a * a + B) * (c-d )", The program calculates the correct result based on the priority
Learning from Hibernate -- Building a log4j log EnvironmentSLF4J supports multiple log systems, such as NOP, Simple, log4j, JDK 1.4 logging, JCL and logback. So what is the implementation principle of SLF4J? SLF4J it only provides one core slf4j api
Org. hibernate. LazyInitializationException: cocould not initialize proxy, couldnot
Org. hibernate. LazyInitializationException: cocould not initialize proxy-no Session
An error is reported when Hibernate is used for delayed loading because the
Longest public substringLongest Common Substring is a classic problem. Its basic description is "given two strings, find the Longest and the same Substring between them (consecutive) ". For example, the following two strings S and T have the longest
JAVA course 10 (Singleton design mode)
Miscellaneous:
If the methods in a class are static, there is no need to create objects. To prevent other programs from creating objects, You Can privatize the constructors of the current class.
class
Adapter Pattern)Before the formal start, let's first think about a few questions: if the existing new project can use a lot of legacy code in the old project, are you planning to finish the new project from the beginning or understand the module
JVM Series II: JVM heap size suggestionsThe JVM heap size setting is a deep dive. It requires both a high degree of understanding and implementation of the architecture and a deep understanding and mastery of the internal language mechanism.First,
Jdk environment variable configuration
In WindowsInstall and test the java Runtime Environment and implement HelloWorld.
1. Download j2sdk 1.6.0 _ 21 or later (http://java.sun. com, it is recommended to download its Java Documentation, which is the
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