An unexpected event may occur during the run of a Java program, which prevents the program from executing as expected by the programmer, which is an exception. When an exception occurs, we should not let the program go to its own, return the output
Generic programmingGeneric programming: Code written can be reused by many different types of objects.Type parameter: Used , which can be omitted because it can be inferred from the type of the variable. Type parameters make the program more
This article describes:This article is divided into several parts, intermittent updates. It mainly involves object-oriented thinking, Java GUI drawing, multi-threading, IO, database-related knowledge.Note: This article is the integration of
JavaBean is a standard, followed by a standard Bean is a Java class with attributes and Getters/setters methods.The definition of JavaBean is simple, but there are a few places to be aware of, such as a bean with a Boolean type of attribute. We know
One, polymorphic1. Polymorphism exists in inheritance and interfaces.2. The indeterminate behavior is placed in the parent class.3. Subclasses must override the indeterminate behavior in the parent class.Second, abstract class1. Keyword
Back-end of the most basic I think to grasp the following points:1. Basic Java Syntax2. Multithreading3, the use of a variety of classic data structures, List, Set, map and its derived classes.4, the classic spring MVC, have no say, now do Tomcat
The content comes from the Novice tutorial (invasion delete)Lambda expressions, also known as closures, are the most important new features that drive Java 8 release.LAMBDA allows the function to be used as a parameter of a method (the function is
8 graphs to read the invariant of Java stringsString, presumably everyone is familiar with, usually we have several ways to create strings in the code, such as: String s = "Hollis"; in this case, a string object is actually created in heap memory,
1. Simply talk about the SPRINGMVC workflow?Process1, the user sends the request to the front controller Dispatcherservlet2. Dispatcherservlet received a request to call the Handlermapping processor mapper.3. The processor mapper finds the specific
On the Internet to read some Java generated PDF files, write a little messy, some do not support writing Chinese fonts, some do not support the template, some just put the data inside the generated files, completely regardless of how the data placed
Classification of Java Heap
Divided into two categories: Younggen and Oldgen. Among them, Younggen is divided into three parts: Eden,from survivor and to survivor, the proportional default is: 8:1:1
PermGen does not belong to the Java
1. Use dom4j to parse XML files and dom4j to parse xml files
I.Dom4j Introduction
Dom4j is a Java xml api and a jdom upgrade product used to read and write XML files. Dom4j is a very good JavaXML API with excellent performance, powerful
Java: [object-oriented: abstract class, interface], java object-oriented
Content:
Abstract class
Interface
Similarities and differences between abstract classes and interfaces
Release date:Abstract class:
Although the parent class
Graph tutorial for using git in IntelliJ IDEA, intellijgit
Project management cannot be separated from version control. Currently, major version control tools are SVN and Git. The differences between the two are not described in detail. If you do
Spring Boot uses the Allatori code obfuscation method, springallatori
Allatori obfuscation Technology
Allatori is a Java obfuscator, which belongs to the second generation, so it can protect your intellectual property rights in an all-round way.
Java concurrency series [6] ---- Semaphore source code analysis, java ---- semaphore
Semaphore is a common class in the JUC package. It is an application in the AQS sharing mode and allows multiple threads to operate on shared resources at the same
JVM Automatic Memory Management-Java memory area and memory overflow exceptions, jvm-java
Abstract: JVM memory division, which may cause memory overflow exceptions.
1. JVMRuntime memory Zone
The JVM divides the memory managed by the Java program
Spring cloud Single Sign-On, springcloud Single PointSummary springcloud-based Single Sign-on service and zuul-based gateway service (solving the session loss problem after zuul is forwarded to the authentication service) download the code:
Examples of mutual calls between kotlin and Java, and examples of kotlinjava
Preface
Interoperability means that Kotlin can call interfaces of other programming languages. As long as they open interfaces, Kotlin can call their member attributes and
Java programming method for obtaining mp3 duration and playing mp3 files, javamp3
This article describes how to obtain mp3 duration and play mp3 files by Java programming. We will share this with you for your reference. The details are as
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