Summary of this week's study
1.1 Summarize abnormal content in the way you like (mind map or other).
Written work
This PTA job problem set anomaly
Common exceptions
Combined Topic 7-1 Answer1.1 What exceptions do you
1. Study summary 1.1 This week summarize anomalies in the way you like (mind mapping or other).2. Written workThis PTA job problem set anomaly1. Common exceptionsCombined Topic 7-1 Answer1.1 What exceptions do you often have in code that you have
1. Study summary 1.1 This week summarize anomalies in the way you like (mind mapping or other).Mind Mapping:2. Written workThis PTA job problem set anomaly2.1. Common exceptionsCombined Topic 7-1 Answer2.1.1 What anomalies do you often have in your
// randomly generates an integer between 1~100 int randomnumber = (int) (Math.random () * +) + 1; System.out.println (randomnumber);This is a method of generating random numbers directly using the Math.random () method.There is also a
Learning Java knows that there is no pointer to this function in Java. But there is a concept that is similar to it, that is, "references".They are similar because they point to a memory address, but there is a big difference between the concept and
Second, thread safetyCorrectness:The behavior of a class is exactly the same as its specification.Thread Safety:This class is thread-safe when multiple threads access a class, regardless of how the runtime environment is scheduled or how those
Data typeEmphasis: in arithmetic expressions, byte,short,char all become int, and then all variables are converted to the highest-level type in their calculation.Basic data types and reference typesBasic data types: Byte 1, short 2, int 4, long 8,
1. Static methods do not have access to non-static methods and member variablesInheritance and polymorphism in 2.javaFor member variables, compile look left, run look left;For the general member method, compile look to the left and run to see the
Java is an object-oriented language, which itself has three object-oriented features-encapsulation, inheritance, polymorphism. When developing, we want to remember that attributes are used to store data. be accessed directly, prone to security risks.
A Java program can be thought of as a collection of a series of objects that work together by invoking each other's methods. The following is a brief introduction to the concepts of classes, objects, methods, and instance variables.
Object : An
Reprint: http://blog.csdn.net/yangzhijun_cau/article/details/6432216A piece of synchronized code is executed by a thread before he gets the permission to execute the code, in Java is the lock to get a synchronization object (an object has only one
Java servlet Componentsprinciples and programming of Java servlet componentsconfiguration and life cycle of Java Servletthe life cycle of a servlet:1, when the Servlet object is created, the Init method is called to initialize2, any request from the
A few days ago in the left to fly voice, inadvertently realized that the interface in Java and JS commonly used callback function a bit similar, today here to tidy up ideas.Interface,java in the interface, why there is this thing.One, reservation
The Switch keyword is no stranger to most Java learners, and since the written and interview questions often ask for its usage, here's a simple summary:
The types that can be used for switch judgments are: Byte, short, int, char (JDK1.6),
I. Run-time data regionThe Java Virtual machine divides the memory it manages into several different data regions during the execution of a Java program.The memory managed by the Java Virtual machine will include the following runtime data regions:1.
The purpose of the framework is to simplify operations, improve code utilization, the JDBC way there are many deficiencies, so not the framework required, so SPRINGJPA come forward, it not only has SPRINGJDBC integration, but also has simplified SQL,
Mybatis operating principle and mybatis Principle
To execute an SQL statement, we must get a SqlSession. How do we get this object? Let's analyze these words slowly:
Step 1: load the configured mybatis. xml configuration file through Resources.
Java generic and java generic1. Understanding of generics
Generic is a new feature of JDK1.5. In essence, generic is a parameterized type, that is, the operated data type is specified as a parameter. This type of parameter can be used in 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