1.java Collection Class Diagram1.11.2In the above class diagram, the real line border is the implementation class , such as Arraylist,linkedlist,hashmap, and so on, the polyline border is an abstract class , such as
definitionWhat is?It is a set of standards, a set of rules, a unified set of requirements for all classes.Do what?It is to achieve multiple inheritance and appear.What do you got?It consists of only two ingredients:1) The static constants of the
Java can handle large numbers of classes with two high-precision large integersBigIntegerand high-precision floating-point numbersbigdecimal, These two classes are in the Java.math package, and to use them you must refer to the package before the
Original link Author: Jakob Jenkov translator: Li JingSometimes you may need to process input and output concurrently. In other words, you may have more than one thread handling input and generating output. For example, you have a program that needs
1. Why use inner classes if they are classes that are defined inside a class? The main reasons are as follows: First, the methods defined in the inner class can access the private properties and methods of the outer class; second, the outer classes
The difference between 1.this and super This and super can only be used in non-static methods, not in static methods, such as Static,final This: can only be used in a method body, equivalent to a pointer in C, to a member variable, this action in
PS: This blog is mainly about the underlying source code of the JDK. Rather than write your own code.Excuse me ArrayList , LinkedList , Vector the Difference① ArrayList The underlying is actually implemented with an array (and the type of the array
The following content is based on jdk1.7.0_79 source code;About HashSet, Linkedhashset, TreeSetThe implementation class of the set interface, the most important feature is that duplicate elements are not allowed;HashSet: Based on HASHMAP
I. Exception anomalies1. OverviewAn exception is an error that occurs while the program is runningException Origin: The problem is also a specific thing in real life, can also be described in the form of Java classes. and encapsulated into
Original link http://blog.csdn.net/mengxin846/article/details/2219844Although the article is a bit old but still some inspiration, such as important things first, good reading superficial understanding.The way to self-study in JavaOne: Learn to
Package Com.java_home. Test;Import Java.io.File;Import Java.io.FilenameFilter;public class Testfile {public static void Main (string[] args) {/*new FilenameFilter interface, overriding a method inside the interface *//* Create a Test folder at the
ObjectiveJava Multi-threaded classification has written 21 multi-threaded articles, 21 Articles of a lot of content, personally think, learning, the more content, the more miscellaneous knowledge, the more need to carry out a profound summary, so as
Java as an object-oriented language with three major features (object-oriented core): Encapsulation inheritance polymorphism
Encapsulation: It's packing, everything is packed.
Inheritance: Subclasses can inherit from parent class
Spring5: @ Autowired annotation, @ Resource annotation, and @ Service annotation, spring5 @ resource
What is annotation?
The traditional Spring method is to use the. xml file to inject beans or configure aop and things. This method has two
Java thread communication and java thread Communication
Thread communication is used to ensure the coordinated running of threads. Generally, thread communication needs to be considered during thread synchronization.
1. Traditional thread
Java understands polymorphism (cainiao) and java Polymorphism
I am a freshman dog. The content is only my first experience. Sorry for the error.
A beginner may have been very familiar with some new terms.
Such as polymorphism, generics, inheritance,
Use of Selenium WebDriver (1), seleniumwebdriver
Introduction to Selenium WebDriver and resource download: http://docs.seleniumhq.org/
Selenium WebDriver was updated to version 2.52.0 in March February 2016. We recommend that you use the earlier
Java Exception Handling analysis (Part 1)An exception
Exceptions are some errors in the program, but not all errors are exceptions, and sometimes they can be avoided. For example, you have less code
A semicolon (;) indicates that java. lang. Error
Tomcat startup Exception in Struts2: Exception starting filter struts2, a java. lang. ClassNotFoundException, struts2filter
When writing a small example of struts2 + hibernate integration, start the Tomcat server and report:
Severe: Exception
Dom4j and dom4j Parse xml
What is Dom4j DD?
Dom4j is a Java xml api, similar to jdom, used to read and write XML files. Dom4j is an excellent Java xml api with excellent performance, powerful functionality, and extreme ease of use. It is also an
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