20165336 2017-2018-2 "Java program design" 1th Week study summary textbook study summary
Java status, features: Java has object-oriented, platform-independent, security, stability and multi-threaded and other excellent features. Java's platform-
BYTE, short, int, long, float, double, char, Boolean1) Four types of integers (byte, short, int, long): byte:8 bits, used to represent the smallest data units, such as data in files, -128~127 short:16 bits, rarely used, -32768 to 32767 int:32 bits,
Packagecom.swift.test01;/*There are four kinds of fruits (apples, bananas, watermelon, oranges) 1, to each kind of fruit set a product number, product number is 8 0-9 random number, the product number can not be duplicated, the minimum value "0000000
Service is the business layerDAO (data access Object) access1.JAVA Action layer, service layer, modle layer and DAO layer function distinguish? (the service layer described below is biz)First, this is now the most basic layering method, combining
First, the binding parameters are annotated as follows @RequestParam Bind the order request data, either as a parameter in the URL or as a parameter for a form submission or as a file to upload.It has three properties:value is used to set the
First look at the use of the Java generic class:/*** A generic method: Makes the program more secure * and can be used more *@authorDing * * *@param*/classPair{ PrivateT first; PrivateT Second; //Instantiating type variables Public Static
Reference articles1:http://blog.csdn.net/clemontine/article/details/530113622:http://www.jb51.net/article/98456.htmhttp://blog.csdn.net/javawebrookie/article/details/49560643Parsing XML in 1.DOM modeDom parsing is an XML file loaded into memory,
object class: 11 methods: First class method: ToString, equals, hashcode; the second type of method: Clone, Finalize, GetClass; Third class method: 3 Wait, notify, Notifyall; method: ToString: Used to describe information
In the Java language, the number of bytes in Chinese characters depends on how the character is encoded, and in general, when iso8859-1 encoding is used, a Chinese character is only 1 bytes as an English character, and a Chinese character is 2 bytes
The result of code compiling from local machine code to bytecode, is a small step in the development of storage format, but it is a big step in the development of programming language. Computers only know 0 and 1, so our program needs to be
Jstack tool introduction, jstack Tool
I. Application scenarios
When a java application's CPU usage is relatively high or reaches 100% or above, you need to analyze where the code is faulty. In this case, you can use the jstack command
Ii. How to Use
What is the difference between equals and = ?, Equals differencesEquals and =
I, a beginner in Java, has been annoyed by the equals () method for a long time. I cannot figure out when to compare the address and when to compare the content? Because
Java SE learning [1], javase Learning
I have learned java for more than one month. It takes more than 100 hours to calculate the time spent on it, the progress is that the variable, loop, branch, and array are finished, and the object-oriented part
Spring framework study Note 5: SpringAOP example, springspringaop
1. Import package:
Import the two packages in spring
Import other packages (download them online ):
2. Prepare the target object:
Package service; public class UserServiceImpl
Redis implements distributed locks, redis
When I cleared the email, I found a previous article about the implementation of the redis distributed lock. Someone replied-I randomly scanned the article to prevent deadlocks, the idea is to use setnx to
Java CardLayout layout example, javacardlayoutI. Design Process
Create a Main Window jfCreate two main editions: mainJP1 and mainJP2Create subJP1, subJP2, and subJP3Create three tags, assign a value of 1st pages, 2nd pages, and 3rd pagesCreate two
JAVAEE--BOS logistics project 04: learning plan, datagrid, paging query, batch deletion, modification function, javaee Logistics Project1. LearningPlan
1. Usage of datagrid (important)
N rendering static HTML as a datagrid Style
N send an ajax
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