JAVA2 platform includes Standard Edition (J2SE), Enterprise Edition (Java EE) and three versions for miniature version (J2ME):
Standard Edition J2SE includes those classes that make up the core of the Java language.
Example: Database
Javax.el.PropertyNotFoundException:Property ' id ' not found on type Java.lang.IntegerAt Javax.el.beanelresolver$beanproperties.get (beanelresolver.java:237)At javax.el.beanelresolver$beanproperties.access$400 (beanelresolver.java:214)At
The 1.Clone () method produces an object that must be assigned after the method has been used. Vector v2 = (vector) v.clone ();The 2.Clone () method is a protection type method in object, and if you create a class that requires the Clone () method,
Public Static voidMain (string[] args) {List list =NewArraylist ();//List of holidays, from the database in a formal environment based on date criteriaList.add ("2017-06-24")); List.add ("2017-06-25"); List.add ("2017-07-01"); List.add ("2017-07-02")
What is the difference between sleep () and wait ()?
Sleep is a method of the thread class, and wait is a method in the object class
Sleep () does not release the sync lock, and wait () releases the sync lock
After calling the
String s = null;s + = "Hello";System.out.println (s);The result is: NullhelloReason:The value of S is obtained by applying string.valueof first, and then the StringBuilder is spliced with Hello, so the value is spliced with Hello;String s = null;s =
three ways to implement timed tasks in Java2014-04-09 16:57 142287 People read Comments (4) Collection report /c3> This article has been included in: Classification:Timerjava(+) Author of similar articlesX
/** * Normal Thread * This is the
Java face questionRecently has been preparing a variety of exams, for a long time did not update the notes, these two days in the review of data structure of some knowledge, but also did not forget to focus on Java-related knowledge. From the
XML Section1. What are the parsing techniques of XML? What is the difference?A: There are dom,sax,stax, etc.DOM: When working with large files, its performance drops very badly. This problem is caused by the tree structure of the DOM, which takes up
1. Array elements are variables;2. With square brackets [] After the existing data type, a new array type is generated;Divided into two categories: 1) Basic data types, such as: int[],string[];2) Reference data type, such as: person[] (Class);The
First, when will the class be loaded?Loading when using content in a class: there are three cases1. Create object: New Staticcode ();2. Use static members in the class: Staticcode.num=9; Staticcode.show ();3. Run in the command line: Java
1. Sleep ()Causes the current thread (that is, the thread that called the method) to suspend execution for a period of time, allowing other threads to continue executing, but it does not release the object lock. This means that if there is
Learn the Java window Basic Operation boring writingJust as a record.The code is as follows:Package day08;Import Java.awt.BorderLayout;Import Java.awt.Color;Import Java.awt.FlowLayout;Import Java.awt.Font;Import Java.awt.GridLayout;Import
First, Package: internal can encapsulate their own implementation details, so that the information is hidden from other categories of destruction; The division of labor between the various classes is clear, other classes do not need to care about
Topic:Given an array of non-negative integers, you is initially positioned at the first index of the array.Each element of the array represents your maximum jump length is at that position.Determine if you is able to reach the last index.For example:
Crawler feel very interesting, write a simplest crawl Baidu homepage HTML code program. Although it's a little simpler, it will deepen later.1 Packagetest;2 3 ImportJava.io.BufferedReader;4 ImportJava.io.InputStreamReader;5
The source code is JDK1.8 as a referencepreface:The InputStream implements two interfaces closeable and autocloseable:Introduced in closeable:jdk1.5, there is only one definition of the close () method in the Closeable interface:public void close ()
Mysql database stores emoji and mysqlemoji expressions
Emoji needs to use the encoding format not utf8mb4, mysql database version more than 5.5, I use 5.6, because only 5.5 and above support utf8mb4.
1. SET the DATABASE encoding to utf8mb4. If utf8
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