Reference: http://www.cnblogs.com/qingxinblog/articles/3399454.html1, Prerequisites: Server for Windows, must install Office using Jacob to make middleware call COM component Open Word process save document to other format2, note the condition: Use
Singleton mode is one of many design patterns. A singleton class can guarantee that its type will only generate one instance, and that having only one instance is useful in many cases, such as global access and caching expensive resources, but if
Common DOS commandsDrive letter: Enter the specified drive letter.dir : Lists the files and folders in the current directoryMD: Creating a DirectoryRd : Delete directory Note: Rd cannot delete non-empty folders, and can only be used to delete
A Hands on the brain(1) Read the example: Enumtest.java, run it, see the results of the run(2) What conclusions can you get? Have you mastered the basic usage of enum types?• Enum type is a reference type. An enumeration is not part of the original
1. Read the example carefully: Enumtest.java, run it, analyze the running results?Program:Results:Analysis:Since S and T are not references to the same object, the first output is false, with S.getclass (). Isprimitive () to determine if S is the
View Java Process HealthJps-lvmView Java default heap sizejava-xx:+printflagsfinal | grep maxheapsizeEclipse Debug Settings VM parametersRight-click on the project, then "Debug as", then "Debug Configurations", in the arguments parameter "VM
Calling the parent class constructorSubclasses do not get the parent class constructor, but the subclass constructor can call the parent class constructor to initialize the codeSimilar to one constructor calling another constructor:public class Box {
First, IntroductionInner classes: Classes that exist with classes are internal classes that are typically used for Android development.The inner class can be understood as an inheritance relationship1. Ordinary Inner class2. Local inner class3.
Class PropertiesPropertiesclass represents a persisted set of properties . Properties can be saved in a stream or loaded from a stream . each key and its corresponding value in the property list is a string .Note:properties is a subclass of
Overview
1.File class
Field Summary
Construction method
Overview
1. File class
2. Principles and concepts of IO flow
3. System of IO Stream
4. Byte stream and character stream
5. Process Flow
When calling a function, the passed argument may have been passed in the past, or it might have been a pass-through. If the value is passed, the operation inside the function has no effect on the value of the parameter, and if it is a pass-through,
Focus:1. Only private ones in the same package cannot be accessed by another class, and only private ones cannot be inherited2. Subclasses different packages have no relationship to the two classes, only public members of the public class can be
Since the work, has been the Java Collection understanding is not comprehensive enough, not deep enough, is commonly used arraylist/hashmap/set/list, sometimes will use a linkedlist. On a whim, there may be some interest in treeset,hashset. However,
Write 2 interfaces:interfacea and interfaceb; in interface interfacea There is a method void in the Printcapitalletter (); there is a method in interface interfaceb void printlowercaseletter () ; thenwrite a class after Print Implementation
serialized Stream : The object is stored in the same way as a stream in a text file or transmitted over a Network. Object-stream Data (objectoutputstream)Construction Method: ObjectInputStream (inputstream In) creates objectinputstream read from the
Thread, java thread
I. Thread Creation
1. inherit the Thread class to create a Thread class
2. Implement the Runnable interface to create a Thread class
Comparison:
(1) when using the Runnable interface, multiple threads can share the same target
Java Notes 1: java notes
If you want to write database-related software, you can study JDBK in depth. If you want to work on program software related to network information exchange, you can learn XML; if you want to develop and design large network
Java basics-object container, java-object container
Directory:
ArrayList sequential generic container
HashSet collection container
HashMap container
Use Java to implement the notepad function. First, list the functions required by notepad:
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