1, understand object-oriented programming ideas and object-oriented characteristics;Object: Everything is object, all things are objects, in the program, we can think of classes, interfaces, methods, properties and so on as objects;
1.1java.io.fileFile is used to represent one of the files or directories in the file systemThrough file you can:1: Access to the file or directory property information (name, size, modification time, etc.)File.getname (); Get file nameFile.length ();
Queue is a typical FIFO data structure, there are many ways to implement the queue, such as arrays, such as linked lists, queues can also be implemented with two stacks, the following two stacks to implement a queue.PrincipleTwo stacks, a stack used
In the book "Java and Patterns" of Dr. Shanhong, this describes the factory method pattern:The factory method pattern is the creation mode of the class, also known as the virtual Constructor mode or the Polymorphism factory (polymorphic Factory)
The string object is immutable. Each time you use one of the methods in the System.String class, you create a new string object in memory, which requires a new space to be allocated for the new object. The overhead associated with creating a new
Math classPackage Box;import java.util.arraylist;import Java.util.collections;import java.util.List; Public classTestbox { Public Static voidMain (string[] args) {//Eight packaging categories /*The integer i=5;//opens up a memory space in the
In Dr. Shanhong's book, Java and Patterns, the simple factory pattern is described as follows: The simple factory pattern is the creation mode of the class, also known as the Static Factory method (Factory) mode. A simple factory model is a factory
OriginalThe default method is a new introduction in Java 8, which allows the interface in addition to an abstract method, but also can hold the implementation of the method, which is not the same as the previous version of Jdk8, why do you want to
This article forwards from the technical World , the original link http://www.jasongj.com/java/thread_safe/The atomicity of three core concepts in multithreaded programmingThis is similar to the atomic concept of database transactions, where an
Introduction of Java ContentJava programming can be divided into three directions (three major versions of Java technology):Java 2 Platform Standard Edition for desktop systems (java2 Platform edition,java SE),Java 2 Platform Enterprise Edition for
Summary of Java CollectionsCollection是集合接口 | ———— set sub-interface: unordered, no repetition allowed.| ———— List sub-interface: Ordered, can have repeating elements.区别:Collections是集合类Set and list comparison:Set: The retrieval element is
1.null is a keyword in Java, like public, static, final. It is case sensitive and you cannot write null or NULL, and the compiler will not recognize them and then make an error.2. Null is the default value for any reference type , not strictly the
1. Modifier properties in Java (Public,private,protect,default)Public: The most restrictive modifier for access in Java. Classes, properties, and methods that are modified by them can be accessed not only across classes, but also across packages
Basic Description:(1) The object class is located in the Java.lang package, and the Java.lang package contains Java's most basic and core classes, which are automatically imported at compile time;(2) The object class is the ancestor of all Java
Environment:System: Kali Linux 2017java:1.8matlab:r2016bidea:20161. Write the Matlab script:Drawplot.m % Paint Custom Function Drawplot parameter x y function drawplot (x, y) plot (x, y); percent percent use MATLAB function plot ()
Java basics 1: Java Basics1 Computer Basics 1.1 What is software?
Software: a collection of computer data and commands organized in a specific order.
Common Software:
System software:
Such as DOS, Windows, and Linux.
Spring configuration notes in javaEE and javaeespring Configuration
0 JavaEE project directory
0.1 WebContent
The main directory of the project. You can name it yourself when creating a project in eclipse. The content of this folder will be
SpringBoot 02 _ return json data, springbootjson
Return json Data Based on SpringBoot 01_HelloWorld. Currently, when the frontend and backend are separated, most of them use Json for interaction. Next, use SpringBoot to return Json data.
1: Create
Java basics-Servlet (5), java basic servlet
Hahaha... I learned Servlet for more than half a month. I watched several inspirational movies for a few days because I was frustrated. Er ~ Continue. The original plan laid a solid foundation for this
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