Experiment Report of Java object-oriented programming
Initial mastery of UML modeling
Familiarity with S.O.L.I.D principles
Initial mastery of UML modeling
Understanding Design PatternsLab Submission point 1:
Unit Test(1)
This week's learning summary, write a little personal study reflection it.Not afraid of teachers you blame, I have three weeks did not pay a summary blog. The reason I do not want to explain more: it is because of their laziness. The loss of the
PackageCom.machuang.convertStream;ImportJava.io.BufferedReader;ImportJava.io.File;ImportJava.io.FileInputStream;Importjava.io.IOException;ImportJava.io.InputStreamReader; Public classDemo01 { Public Static voidMain (string[] args)throwsIOException
Writing to a text file1. Associating read-in files, using reader and FileReader2. Associating written files, using writer and FileWriter3. Create a buffered char array for receiving read-through text information4. Read the text into the buffer array
Previous blog "Dead java Concurrency"-in-depth analysis of the volatile implementation principle has described the characteristics of volatile:
volatile visibility; For a volatile read, you can always see the final write of this variable;
Open idea the jar packages I refer to are placed inProject Structure-->modules-->libs folder (double-click)Double-click the folder where the jar package is located and jump out of the dialog box.1. If the API corresponding Javadoc document is local,
Today the regular expression matches a string, so it's not right.Use regular expressions to remove the attempt str.replaceall ("\\s*", "" "); Remove the Str.replaceall ("", "") in either ReplaceAll ("\\s+", "") or String method;These methods are not
What is CAsCAS: Full name compare and swap, literally: "Compare and Exchange", a CAS involves the following actions:we assume that the original data in memory V, the old expected value A, needs to be modified by the new value B. 1. Compare whether
By looking at the summary of the various Daniel on the net, and self-test summary of the Java Image Grayscale processing method(1) The pixels in the image we are familiar with have RGB values.(2) The image grayscale method is roughly divided into
In the near future with a project dealing with docx documents, the guide package is inevitable, the following is due to the project contact, can process the docx tool (including but not only the following). Through a brief introduction to the tool
[Java] Experiment 7 Reference Code , the code has been updated. Interested students can go to study. 1. The default package problem can be tested in experiment 62.?for, if, while and so on. When you include more than one statement, you need to
Reproduced from the original text:
What is Java OOM? How to analyze and solve oom problem?
What is Oom?OOM, the full name of "Out of Memory", translated into Chinese is "exhausted", the form of expression is
A brief introduction to controlling the HDFs file system with JavaFirst, note the Namenode access rights, modify the Hdfs-site.xml file or modify the file directory permissionsThis time using modify Hdfs-site.xml for testing, add the following
Volatile in Java does not guarantee thread safety (example explained)Reprinted 2017-09-04 Think-007 I want to commentThe following small series to bring you a piece of Java in the volatile can not guarantee thread safety (the example explained).
1. Learn about the session1.1.session IntroductionThe session is called a conversation, and the cookie saves the user-generated private data to the browser side, and the session saves the user-generated private data to the server. Note: A browser is
CaseXiao Zhang is an ordinary code farm, hard code every day. One day at noon, Xiao Zhang was just going to eat, a phone call to his cell phone. "Is xx company's small Zhang?" I am the king of yy company AA ". "Oh, it's Wang, what's the matter?" ”。
The float must contain a decimal point.Float Type value must be followed by a "f/f", otherwise the default is a double type.Three special floating-point numbers:Positive_infinity: Zheng InfinityNegative_inifinity: Negative InfinityNaN: Non-number(
What is an internal class?Class that is placed inside a class, which we call the inner classWhy use internal classes?1. Internal classes provide a better encapsulation, and only external classes can access the inner classes directly.2. Internal
As described in the example above, the variable A, a, and their value 10, 20 are present in the stack, so the reference to the string type is also present in the stack. While string ABC is present in a string constant pool, the new string object is
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