Seventh: " exceptions, assertions and logs " Summary of Knowledge pointsthis week, we learned about exception handling in Java, and here are some of the gains. I. The difference between an unchecked exception and a checked exception:unchecked
While Loop statement: while (Boolean expression)//Boolean expression value is true on execution loop, otherwise false jumps out of loop {statement } //while cycle, calculate 1 to 100PackageXunhuan; Public classXun { Public Static voidMain (string[
The Sixth chapter review summarizesA week after a small holiday, the teacher did not want to catch up on the progress of the seventh chapter of the new knowledge, but the contents of the previous chapter of the system review, originally in the sixth
1. Abstract classes cannot be instantiated.2. Abstract classes can have constructors, which are inherited when the subclass must inherit a constructor of the parent class, and the abstract method cannot be declared static.3. Abstract methods only
Note: This article is reproduced: https://i.cnblogs.com/EditPosts.aspx?opt=1For questions, check out several other blogs:Java Basics: http://blog.csdn.net/u014206526/article/details/52251355JVM article:
Original source: Csdn DengThe purpose of this article is to summarize some of my experience in using Java for many years, mainly related to some Java basic knowledge points, so also want to share to just get started Java programmer and intend to
The enumeration classes are new after Java 5, can be used to encapsulate constants, and can also provide some methods for the use of constants.Defines the syntax for an enumeration class: Public enum enumname{ //must be placed on the
For a programmer who is passionate about Java technology, as a novice in Java programming, there are a few key points you can take to stand out from the many Java developers.1. Selection is importantAs a beginner, it is very important to find a
ObjectiveIn the actual project development, in addition to Web applications, SOA services, there is a kind of indispensable, that is scheduled task scheduling. The scene of timed tasks can be said to be very extensive, such as some video sites,
Java performance optimization, sorting out an article for later restudying.JVM GC (garbage collection Mechanism)Before we learn the Java GC, we need to remember one word:stop-the-world. It will occur in any GC algorithm . Stop-the-world means that
1. java.lang.NullPointerExceptionThis exception is often encountered, the exception of the explanation is "the program encountered a null pointer", simply called an uninitialized object or a non-existent object, this error often occurs in the
Java thread pool technology, java Thread Pool
1. How is the thread pool implemented?Introduction: multithreading technology mainly solves the problem of multiple threads in a processor unit. It can significantly reduce the idle time of the processor
Java learning roadmap and java Roadmap
JAVA learning roadmap, which is hereby declared;
Only hope to be helpful for learning JAVA
If you reprint or use this image, please indicate the source to avoid copyright problems later. Thank you !!!
JAVA
Implementation of resumable download and resumable download principlesBackground
When downloading a dynamically created file, you want the browser to display the download progress.
You want to download dynamically created files in multiple parts.
Java-servlet-EL expressions and java labels,
1. Servlet thread security issues
1st. Why does servlet have thread security problems?
2nd. How can this problem be solved?
2. Jsp Basics
What is 1st. Jsp?Essentially a servlet
2nd. How to Write jsp?
I)
Flying-saucer + iText + Freemarker exports pdf files and supports Chinese, css, and images,Preface
There is a requirement in the project. You need to export the contract content to pdf. IText is an open-source Java library that generates PDF
Java memory management and memory overflow exceptions, java memory management Overflow
Speaking of memory management, I would like to first compare the differences between java and C ++:
In C and C ++, the programmer is responsible for memory
Installation of the JDK-9 on ubuntu (jdk-9 installed on linux), ubuntujdk-9
Description: Java SE 9 is the latest update to the Java Platform (General Availability on 21 September 2017 ). this release already des much awaited new features like 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