Study No. 20165334 "Java program design" 1th Week study summary Textbook Learning content Summary 1, Java Programs Development steps
Write the source file (using a text editor, the source file extension is. java)
?? The name of the
Since Java2, the Java language has added a keyword STRICTFP, although this keyword is less useful in most situations, but it is necessary to understand.STRICTFP means fp-strict, that is to say, the meaning of the precise floating point. When a Java
/*** Get class loader * *@return */ Public StaticClassLoader getClassLoader () {//You only need to get classloader in the current thread returnThread.CurrentThread (). Getcontextclassloader (); } /*** Load Class * The Load class
Tag: ack Static red Write succeeds a try class catch PackageIO;ImportJava.io.BufferedWriter;ImportJava.io.FileWriter;Importjava.io.IOException; Public classWrite { Public Static voidMain (string[] args) {/*** File Write*/ Try{BufferedWriter
(a) How the computer processes data---input and output (plot)(ii) Abstract classes in Java I/o:① abstract class "byte" for processing byte streams: InputStream and OutputStream② abstract classes for processing filtered streams: Filteroutputstream
Introduction to Basic conceptsprocess : It is a separate space in memory that can be responsible for the operation of the current application. The current process is responsible for scheduling all the running details in the current program.thread :
The difference between start () and run () in threadstart () : Its role is to start a new thread, and the new thread executes the corresponding run () method. Start () cannot be called repeatedly. Run () : Run () is the same as the normal member
1. What is reflection?Reflection is actually a dynamic loading class, and when we write JDBC, we load the driver class.forname ("xxx") when it comes to reflection.The reflection mechanism is in the running state, for any class, can know all the
Package string;public class Equals {public static void Main (string[] args) {/*** using "=" to compare two strings, is to compare the "address" of two objects is consistent,* The essence is to determine whether two variables point to the same object,
One package:
Class 1: Encapsulating the properties and behavior of an object
2 Method: Encapsulation is a specific business logic implementation
3 Access control: encapsulates specific access rights
2 Inheritance:
1 function:
Public ArrayList getinferfacelist (arraylist tasknamelists) {String interfacename= ""; String splitedworktable = ""; ArrayList interfacenamelist =new ArrayList (); Traversal get job Name list of each job name for (Tasknamelist
Java design mode ------ builder mode, java design mode ------
Builder mode separates the construction of a complex object from its representation, so that different representations can be created during the same construction process.
Class Diagram
Multi-thread learning,
Original address http://www.cnblogs.com/xrq730/p/4853578.html
Sleep () does not release the lock, join () releases the lock
The construction method and static block of the thread class are called by the main thread, while the
Three questions about using Mybatis in SpringBoot: springbootmybatis
Three questions about using Mybatis in SpringBoot
Reprinted with the source address: Http://www.cnblogs.com/funnyzpc/p/8495453.html
I originally want to talk about some of
Java specifies the data of a column in a row of data imported into an Excel table.
Import java. io. file; import java. io. fileInputStream; import java. util. arrayList; import org. apache. poi. hssf. usermodel. HSSFWorkbook; import org. apache. poi.
Use of sigar, use of sigar
Unlike a common jar package, the Sigar API depends on the local library file for work, where:
Sigar. jar dependencies in Windows: sigar-amd64-winnt.dll or sigar-x86-winnt.dll
Sigar. jar dependency in Linux: libsigar-amd6
Java internal class summary, Java class Summary
Java internal class
I. Meaning
In Java programming language, a program is constructed by class. You can declare a class within a class.
The class is called an internal class.
Ii. Functions
Better
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