Since the blog was not opened soon and there was no blog before, I would like to introduce my previous projects as well.
Thank you for your support.
Tank wars
IDE: myeclipse 9.0
Language: Java SE
Database: because it is a standalone version,
Follow these steps to compile and run a Java Applet:
1. Assume that ourProgramTestapplet. Java, first switch to the current directory of the program in the command line.2. compile and generate the. Class file. Enter javac testapplet. Java in the
The author of this book is one of the developers of hibernate, which can introduce the principles and best application practices of Hibernate Persistence technology from a more accurate perspective. It should be regarded as a heavyweight book of the
Enhancement for and loop added by JDK.
Foreach statement usage Summary
Enhanced for (Part1: Part2) {Part3 };
Part2 is an array object or a set with generics.Part1 defines a local variable. The type of this local variable is the same as that of the
public interface Enumeration
An object that implements the enumeration interface. It generates a series of elements and generates one at a time. Continuous callnextElementMethod returns a series of continuous elements.
For exampleVector VYou can
The core APIs of Java are very large, which makes it very convenient for developers. Many people often comment that Java makes programmers stupid.
However, I think some content must be mastered. Otherwise, it will be difficult to use Java without
1. What is the purpose of a Singleton?This should be obvious, to ensure that a class only has a single instance, that is, you cannot create a new instance of this class through new or createinstance.
2. What are the benefits of Singleton?When an
Hashset needs to override equals and hashcode
Treeset needs to override equals and compareto
The results returned by the two functions must be consistent.
In general, hashset and treeset only put immutable objects, and final modifies
The process is relatively simple, so do not say more:
During the specific configuration process, go through the time tunnel
However, I encountered the following problems:
05-28 08:22:30.580: E/AndroidRuntime(332): java.lang.SecurityException:
As shown in the Knowledge System tree, some of the knowledge has been mastered and can be skipped. Although some of the knowledge has been mastered, It is not comprehensive or systematic and requires targeted re-learning; although I have read other
* HTML Tag:* you can define an anchor. There are two main attributes:* Href (most important): creates a link (or hyperlink) pointing to another document)* Name or ID: Create a bookmarks in the document.
* bold text Effect* italic text Effect*
When I watched the video of Mars yesterday, I was ashamed of seeing that he was talking about anonymous internal classes. So Baidu + Google finally came up with the following:
Anonymous internal class
1. Definition: As the name implies, an internal
Different operating systems have different file system path settings. For example, in windows, the representation of a path may be:"C: \ workspace \ ch14 \\"
In Linux, the path settings may be as follows:"/Home/Justin/workspace/ch14"
In Windows, the
Java Virtual Machine (JVM) is a hypothetical computer that can run Java code. As long as the interpreter is transplanted to a specific computer according to the JVM Specification Description, it can ensure that any compiled Java code can run on the
Through Java reflection mechanism analysis (I) and Java reflection mechanism analysis (II), I have a certain understanding of reflection, this article uses the dynamic proxy example to further learn the reflection mechanism.
1. Proxy Mode
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