Java learning notes-nested classes and java learning notes nestingNested class
There are two types of Nested classes: static and non-static, which correspond to static Nested classes and internal classes respectively.
1 class OuterClass {2 ...3 static class StaticNestedClass {4 ...5 }6 class Inn
Java learning notes-inheritance and polymorphism (medium), java learning notes
1. Develop superclass through inheritance)
2. Use the super keyword to evoke the constructor of superclasses
3. overwrite the method in the superclass
4. differentiate override and overload
5. Explore the toString () Class in the Object clas
Java basic knowledge learning notes (1), java learning notes
Understanding object-oriented:
Java's pure object-oriented programming language is represented by three basic features fully supported by Java: inheritance, encapsulation, and polymorphism.
The minimum unit of a
Java learning notes-basic methods of the File class, java learning notes-file
Gradually develop the habit of writing blogs -----"
Some time ago, I/O stream in the java of Mars was not fully understood, and it was difficult to find the I/O Stream. Today, I read other teaching
JAVA learning-JAVA environment preparation, java-java Environment
Dir: list files and folders in the current directoryMd: create a directoryRd: delete a directoryCd: Enter the specified directory and open the folderCd ..: Return to the upper-level directoryCd/or cd \: Return
Java Learning Path (ii), book chapterLearn a new knowledge, can not expect to read only one, or two books will be able to fully grasp. There is a need for a gradual reading process. I recommend the Java Series books published by OReilly.Here I just want to add that a lot of people learn
Java learning notes-10. io stream, java learning notes-10.io
1. The input stream can only read data from it, but cannot write data to it. The output stream can only read bytes of data.
2. The InputStream types include:
ByteArrayInputStream contains a memory buffer, which is extracted from byte. FileInputStream obtain
Java layout Learning (2) and java layout Learning
This article introduces FlowLayout and BorderLayout. We will continue to introduce the layout method in java.
(3) GridLayout grid layout
This layout divides the entire container into a grid with M rows and * N columns.
For ex
Java learning notes 9 (Object-Oriented 2), java learning notes
Proximity principle:
When the names of the variables in the method and member variables in the class are the same, the variables in the method take effect when the class method is called. If no variables are defined in the method, the variables in the membe
JAVA reflection mechanism learning notes (2), java learning notes
The last time I wrote a learning note on the reflection mechanism of JAVA (I), I was busy these days in July 22, and my pace was totally disrupted ~ You cannot cont
Java learning notes 8 (Object-Oriented 1) and java learning notes
Process-oriented thinking: How can I solve this problem when I encounter a problem? Then solve the problem step by step.
Object-oriented Thinking: When you encounter one thing, think about who should do it. As for how to do it, it is not something I need
Java learning notes 8 --- class static variables and static methods access and call methods, java learning notes
Static variables are also called class variables, static methods are also called class methods. They are collectively referred to as static members or class members. Static members are modified by static and
Java learning notes-verification code implementation (15), java learning notes
The main task for the occurrence of the Verification Code is to solve the problem of repeated submission of forms.
Public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {// 0. the n
Java learning notes 01, java learning notes
1. Prototype Design:
The module, element, and human-computer interaction form of the page are separated from the skin by using the method described in wireframes.
2. The following is the hierarchical structure of the persistence layer designed using PowerDesigner:
The dotted
Java learning notes 46 (multithreading 3: communication between threads) and java learning notes
Multiple Threads are processing the same resource, but the tasks of the threads are different. Through some means, each thread can effectively use the resources,
This means: waiting for the wake-up mechanism, also known as
Java learning notes -- iterator and java learning notes --To achieve uniform traversal of different types of containers, an iterator is used. It mainly uses two interfaces: Iterator and Iterable. The class that implements the Iterable interface indicates that this class can be traversed using the iterator, such as List
Java learning-Map, java learning mapPreface
Recently, many cloud platform projects in colleges and universities are engaged in Map, and map usage is not very familiar. So I will study the map methods again here.
Map and Collection
When it comes to the Map set interface, we can't help but mention the Collection set
Java learning notes-custom tag 1 (39), java learning notes
In actual development, for example, to simplify JSP scripts, we need to use the standard tag library and EL expressions, but the labels provided in the new tag library are limited, it is impossible to fully meet the development needs. For example, pagination. T
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.