20155336 2016-2017-2 "JAVA program Design" The second week to summarize the contents of the textbook learning1:git Version DetectionBasic types in 2:java
Integer
Bytes
Floating point number
Character
Boolean (▲)
The API
I caishuxueqian, just use blog this platform to organize the ideasUsing singleton mode simply means that the properties are the same when the object is generated, that is, you are new 100 times, and the results are all the same (such as obtaining
1. Stacks and heaps (heap) are places that Java uses to store data in RAM. Unlike C + +, Java automatically manages stacks and heaps, and programmers cannot directly set up stacks or heaps.2. The advantage of the stack is that the access speed is
Overview Both Java and C # are object-oriented languages, object-oriented programming is the current high-level language habits of the programming model, and C + + programming process, object-oriented use of efficient, flexible, object-oriented
1, conceptually, the Java string is a sequence of dead Unicode characters, Java does not have a built-in string type, but in the standard Java class Library provides a predefined class, called String. strings are enclosed in "".2,
1. Summary of this week's studyThis week to learn a variety of classes and objects, as well as the basic type of packager, the main thing is the string object, the teacher also took a class time to explain the code and exercise.2. Written work1. Use
#1. Summary of the study in this chapter①java Basic data typesThe ②string class object uses#2. Written work
Associate the JDK source code with Eclipse and view the source () of the string object? What does the parsing string use to store
1. What are the original data types in Java, and what are their sizes and corresponding encapsulation classes? Raw data type size (byte) Corresponding package type Boolean1 or
1, Singleton mode: A class can only produce a unique object.2, Package: For the completion of different functions of the class classification, placed in a different directory. (Package name lowercase)Importing: Import Com.baidu.TestImport Package:
Reference: http://blog.chinaunix.net/uid-27106528-id-5209914.htmlTo run a Java program using Java on the cmd command line, a workaround for "The main class cannot be found or cannot be loaded" error,Basically on the network is said about the
The life cycle of a 1.java virtual machineWhen a Java program is started, a virtual machine instance is generated, and when the program shuts down, the virtual machine instance dies.There are two types of threads inside a Java Virtual machine, a
1 Public voidsetName (String str)2 {3Name=str;4 }5 Public voidSetage (intA//the Set method needs to define the data type in parentheses6 {7 if(a>0)8Age=A;9 }Ten PublicString GetName ()//get method needs to define the returned data type
Java8 comparator, how to sort the List, java8list
In this article, we will see several examples of how to sort the List in Java 8.I. Sort the string list by letterList cities = Arrays. asList ("Milan ","London ","San Francisco ","Tokyo ","New
MyBatis: add, delete, modify, and query from SqlSession, and mybatissqlsessionPreface
This is the first time I wrote a series of articles on my blog. In my heart, I was a little worried that I could not write well and could not write completely,
Mybatis series notes (4) --- input/output ing, mybatis input/output
Input/Output ing
The input parameter type can be set by parameterType to be a simple type (int String), a POJO, or a packaging class.
1 input ing
I will not write about the input
Programmers develop these 16 good habits, not far from success, not far from good habits
1. Be cautious about YesPromising programmers will not easily agree to the terms of development requirements, task workload, and team expectations. Especially
My Java journey Lesson 7 java web session management and java journey
1. Hide the domainThe hidden domain is not actually the content of the Servlet/JSP session management mechanism, but it can achieve simple page status records. 2. Set the
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