1.fragment is the accessibilityfragment of the image. The type of method that needs to be adjusted.setaccessible (true) does not change the access permission for a method to public. Instead, the permission control check for Java is canceled. So even
Reprint please indicate source: http://www.cnblogs.com/lighten/p/6964702.html1. PrefaceThe IO operation of the computer has always been an important one, and IO as the name implies, is the input and output stream. Whether it is disk IO or network IO,
What does the data structure and algorithm do?A data structure is a form of organization in a computer's memory space or disk. Data structures include arrays, linked lists, stacks, binary trees, hash tables, and so on. The algorithm handles the data
ImportJava.awt.Color;ImportJava.awt.Font;ImportJava.awt.Graphics2D;ImportJava.awt.Image;ImportJava.awt.image.BufferedImage;ImportJava.io.File;ImportJava.net.URL;ImportJavax.imageio.ImageIO; Public classPicturedemo {/*** Compositing the image
Classes involved in creating a message: MimeMessage, MimeBodyPart, MimemultipartClasses involved in sending mail: TransportRelated classes: Session, PropertiesInstance:/*** Make an email with an attachment and send it * *@throwsException*/
Type conversions:Automatic type conversion from small to large (implicit conversion)When a small data type is calculated with a large data type, the result is automatically converted to a large typebyte char short-->int-->long-->float-->doubleNote:
Exception handlingAn exception is the name and line number of the error that occurs during a run.ArrayindexoutofboundThe so-called error refers to some of the abnormal events that occur during program operation (except 0 overflow, array subscript
2nd Article-java Foundation
every single sentence : In any field, even in small things, to make every day worth
Beginner's experience : in the process of learning, mistakes are very valuable, it is a "wealth", but also a "value"
(
First, basic if structure1. FlowchartInput/OutputJudging and branchingProcess Line1.1 Simple if condition to judgeif ( expression ) { // expression is true , execute the code in {}}1.2 Simple if condition to judgeif ( expression ) {
One, variable
A variable is an identifying symbol in memory that is used to store data
Variable naming rules--"P35 page"
Must start with a letter, underscore, dollar signVariable, you can include a numberVariable, you cannot have
Volatile has the following effects:Prevents reordering, guarantees visibility, and guarantees atomicity for a single read and write (excluding i++-like compound operations).explained separately below.It is well known (and perhaps some people don't)
I personally think that the basis of learning programming language is to learn from the demo.Practice console output things, System.out.println output line, System.out.print output does not wrap.Package com;public class Test {public static void Main
Yang Hui triangle Feature analysis (): * Line i has column I* The first number of each row is 1* The last number of each row is 1* The current number (not the first column and the last column) equals the number above a number + the left of the
The 1 method is an abstraction of a class or object's behavioral characteristics, which is the most important part of a class or object2 Java inside methods have only one parameter pass: value passingValue passing: A copy of the actual parameter
On the macro level:1. Breadth of technologyAt least be proficient in many open source technology, study the source of struts\spring and so on.2. Project ExperienceWith a few major projects from beginning to end, the head refers to the demand phase,
The following is referenced from http://wiki.jikexueyuan.com/project/java/packages.html:The use of packages in Java is to prevent naming conflicts and to control access, making it easier to use search/locate and classes, interfaces, enumerations,
Overview (The content of this section is best written down, ready to use, casually can speak, readily can write):1,collection sets the top-level parent class, inheriting iterable (an iterative interface).2, Method: Add, AddAll, clear,First, take a
Original address: http://calvin1978.blogcn.com/articles/collection.htmlIn the shortest possible space, the features, implementations, and performance of all collections and concurrent collections are smoothed over. Suitable for all "proficient in
JAVAEE learning-struts2_01: introduction, setup, architecture, configuration, action class details and exercises: customer list, javaeestruts2_01
I. What is struts2?
1. Concept
2. Advantages and history of struts2
2. Build the struts2
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